nrf9160

Set command

The set command sets the Packet Data Network (PDN) configuration.

The initial PDN connection that has been activated during the Attach procedure is automatically reactivated if an always-on PDN has been configured with the %XPDNCFG command. The reactivation is triggered if deactivation occurs unexpectedly and is not requested by the client. 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:

%XPDNCFG=<lifetime>

The set command parameter and its defined values are the following:

<lifetime>
0 – Default PDN lifetime
1 – Always-on PDN. The initial PDN connection is automatically reactivated.

The following command example sets an always-on PDN for the initial PDN connection:

AT%XPDNCFG=1
OK

The following command example removes the setting of the always-on PDN of the initial PDN connection:

AT%XPDNCFG=0
OK