Read command

The command returns the stored MAGPIO configuration.

Response syntax:

%XMAGPIO: <gpio_0>,<gpio_1>,<gpio_2>,<num_ranges>,<state_0>,<flo_0>,<fhi_0><state_1>,<flo_1>,
<fhi_1>,...

The read response parameters and their defined values are the following:

<gpio_x>
0 – MAGPIO_x is not used
1 – MAGPIO_x used
<num_ranges>
The number of frequency ranges, maximum value 12
<state_y>
Settings of the MAGPIO pins for the range x that follows
<flo_y>
Frequency range low value when the setting is active, in MHz
<fhi_y>
Frequency range high value when the setting is active, in MHz

The following command example returns the stored configuration:

AT%XMAGPIO?
AT%XMAGPIO: 1,1,1,3,0,1574,1577,1,705,747,6,748,804
OK