nrf9160

Set command

The set command enables or disables the use of an Access Point Name (APN). 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.

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

Syntax:

%XAPNSTATUS=<status>,<APN>

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

<status>
0 – Disable APN
1 – Enable APN
<APN>
String. APN.

The following command example disables the use of an Internet APN:

AT%XAPNSTATUS=0,"internet"

The following command example enables the use of an Internet APN:

AT%XAPNSTATUS=1,"internet"