Set command

The set command writes user-modified configuration data to the modem's Non-volatile Memory (NVM) so that the data persists through the power off cycles

The command stores to NVM configurations that are set with the following commands:


518 – Not allowed in active state.

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

0 – Store configurations to NVM.
1 – Store configurations to NVM and set %XBANDLOCK operation 3, %XRFTEST (AFC measurement and set %XRFTEST) operation 4, and %TXSELFCAL permanently as read only.nRF9131
%XFSSYNC=1 fails if AFC calibration (%XRFTEST) and TX self-calibration (%TXSELFCAL) have not been executed.
This is a one-time programmable command for %XBANDLOCK operation 3, %XRFTEST (AFC measurement and set %XRFTEST) operation 4, and %TXSELFCAL that cannot be re-executed or reversed.
If the parameter is not given, <mode> value 0 is used.
Bit mask for selecting device RAT.
1 – LTE-M and Narrowband Internet of Things (NB-IoT).
2 – DECT NR+.
3 – LTE-M, NB-IoT, and DECT NR+.
Required when <mode> is 1. If a matching %TXSELFCAL command has not been executed with the correct mode settings, %XFSSYNC returns ERROR.

The following command example synchronizes and stores AT command configurations to the modem's NVM: