Set command

The set command writes the COEX0 pin configuration to device's RAM memory.

Syntax:

%XCOEX0=<count>,<state_0>,<freqlo_0>,<freqhi_0>,...
<state_count-1><freqlo_count-1><freqhi_count-1>

The set command parameters and their defined values are the following:

<count>
The number of frequency ranges. Valid values are 1, 2, 3, and 4.
<state_x>
The state of COEX0 with the following frequency range. Valid values are 0 and 1.
<freqlo_x>
Low limit for the frequency range in MHz.
<freqhi_x>
High limit for the frequency range in MHz.

The following command example sets COEX0 to '1' when GPS is enabled (and '0' when GPS is turned off ). COEX0 is not used with other frequencies (or LTE).

AT%XCOEX0=1,1,1570,1580
OK

This command example sets COEX0 to '1' when GPS is enabled, or LTE frequency is 600–800 MHz or 2000–2180 MHz

AT%XCOEX0=3,1,1570,1580,1,2000,2180,1,600,800
OK

If the command is given without any parameters, it deletes the previously written values:

AT%XCOEX0
OK