Set command

The set command configures the System in Package (SiP)-internal antenna switch to an alternative predefined position.

The %XANTCFG command supports one predefined setting. Therefore, in the Global Navigation Satellite System (GNSS) mode the input signal to nRF9160's ANT input is routed back out from the AUX output. 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. After a valid configuration exists, nRF9160 automatically controls the switch during GNSS reception. Adding further predefined settings requires a modification to modem firmware.

Active %XPOFWARN warning blocks the storing to NVM.v1.3.x≥2



The set command parameter and its defined values are the following:

0 – Reserved, no action
1 – ANT input directed to AUX output in the GNSS mode
2 – Reserved, no action
7 – Reserved, no action

The following command example directs ANT input to AUX output:


The following command example deletes the previous configuration: