The set command writes the COEX0 pin configuration to device's RAM memory.
The command configuration is stored to Non-volatile Memory (NVM) approximately every 48 hours and when the modem is powered off with the
+CFUN=0
command. The configuration can be stored to NVM with the %XFSSYNC
command when the Production Test Image (PTI) modem firmware is
used. The
stored configuration is applied when the device is powered on. When RF is turned off, the
given COEX0 state is inverted.
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:
The following command example sets COEX0 to 1 when Global Navigation Satellite System (GNSS) is enabled (and 0 when GNSS is turned off). COEX0 is not used with other frequencies (or LTE):
AT%XCOEX0=1,1,1570,1580
OK
The following command example sets COEX0 to 1 when GNSS 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