The set command disables R&D features by closing the modem Universal Asynchronous Receiver/Transmitter (UART) connection, which is meant only for nRF9160 System in Package (SiP) manufacturing test purposes. The command allows to permanently disable the use of the %XRFTEST and %XEMPR commands. The command also permanently enables the downgrade prevention of modem firmware.
Downgrade prevention means that it is not possible to update an older modem firmware version to a device. Downgrade prevention applies to both Firmware-Over-The-Air (FOTA) and wired firmware update.
If the <value> parameter is not set or is 0, the
%XRFTEST and %XEMPR commands are permanently
disabled after the %XPRODDONE command has been performed. To keep the
commands usable after %XPRODDONE, use AT%XPRODDONE=1
. If
commands have been disabled with %XPRODDONE, they cannot be re-enabled.
If %XRFTEST is not disabled when issuing %XPRODDONE,
it remains permanently enabled and cannot be disabled later.
Syntax:
%XPRODDONE=[<value>]
The set command parameter and its defined values are the following:
The following command example sets the customer production to done and permanently disables the %XRFTEST command:
AT%XPRODDONE
OK
or
AT%XPRODDONE=0
OK
The following command example sets customer production to done and leaves %XRFTEST usable:
AT%XPRODDONE=1
OK