AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page68of233
+CGDCONT - Define PDP Context
<pd1>, …, <pdN> - zero to N string parameters whose
meanings are specific to the <PDP_type>
Note: a special form of the Set command, +CGDCONT=<cid>, causes the values for
context number <cid> to become undefined.
AT+CGDCONT?
Read command returns the current settings for each defined context in the format:
+CGDCONT: <cid>,<PDP_type>,<APN>,<PDP_addr>,<d_comp>,
<h_comp>[,<pd1>[,…[,pdN]]][<CR><LF>+CGDCONT: <cid>,
<PDP_type>,<APN>,<PDP_addr>,<d_comp>,<h_comp>
[,<pd1>[,…[,pdN]]][…]]
AT+CGDCONT=?
Test command returns values supported as a compound value
Example AT+CGDCONT=1,”IP”,”APN”,”10.10.10.10”,0,0
OK
AT+CGDCONT?
+CGDCONT: 1,”IP”,“APN”,”10.10.10.10”,0,0
OK
AT+CGDCONT=?
+CGDCONT: (1-16),"IP",,,(0-2),(0-4)
+CGDCONT: (1-16),"PPP",,,(0-2),(0-4)
+CGDCONT: (1-16),"IPV6",,,(0-2),(0-4)
OK
Reference
3GPP TS 27.007
Define Secondary PDP Context - +CGDSCONT
+CGDSCONT – Define Secondary PDP Context
AT+CGDSCONT=
[<cid> ,<p_cid>
[,<d_comp>
[,<h_comp>]]]
Set command specifies PDP context parameter values for a Secondary PDP
context identified by the (local) context Identification parameter, <cid>.
The number of PDP contexts that may be in a defined state at the same time is
given by the range returned by the test command.
In EPS the command is used to define traffic flows.
A special form of the set command, +CGDSCONT= <cid> causes the values for
context number <cid> to become undefined.
Parameters:
<cid>: a numeric parameter which specifies a particular PDP context definition
(see +CGDCONT command)