pti

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 nRF91x1's ANT input is routed back out from the AUX output. After a valid configuration is set, nRF91x1 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:

<cfg>
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:

AT%XANTCFG=1
OK

The following command example deletes the previous configuration:

AT%XANTCFG
OK