nrf9160

Set command

The set command activates or deactivates a Packet Data Network (PDN) connection.

Note: Initial PDN connection (cid 0) could not be activated or deactivated.

First, the Packet Data Protocol (PDP) Context needs to be defined with the +CGDCONT command.

Syntax:

+CGACT=<state>,<cid>

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

<state>
0 – Deactivate
1 – Activate
<cid>
Integer, 0–10.

The following command example activates a bearer configured with CID 1:

AT+CGACT=1,1
OK