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 set to minimum functionality mode 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 is set, nRF9160 automatically controls the switch
during GNSS reception. Adding further predefined settings requires a modification to modem
firmware.
Syntax:
%XANTCFG=<cfg>
The set command parameter and its defined values are the following:
The following command example directs ANT input to AUX output:
AT%XANTCFG=1
OK
The following command example deletes the previous configuration:
AT%XANTCFG
OK