80591ST10886A Rev.2 Page 72 of 200 2018-07-02
10.
UMTS-SPECIFIC PACKET DOMAIN
COMMANDS
10.1.
AT+CGDCONT Define PDP Context
The set command specifies PDP context parameter values for a 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.
A special form of the set command, +CGDCONT= <cid> causes the values for context number <cid> to
become undefined
The read command returns the current settings for each defined context.
The test command returns values supported as a compound value. If the MT supports several PDP types,
<PDP_type>, the parameter value ranges for each <PDP_type> are returned on a separate line
Syntax
Test Command AT+ CGDCONT =? +CGDCONT: (1-24),”IP”,,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-24),”PPP”,,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-24),”IPV6”,,,(0-3),(0-4),(0-1),(0-1)
+CGDCONT: (1-24),”IPV4V6”,,,(0-3),(0-4),(0-1),(0-1)
OK
-
Read Command AT+ CGDCONT?
+CGDCONT:
1,”IPV4V6”,””,”0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
OK
-
Write Command AT+ CGDCONT =[<cid>
[,<PDP_type> [,<APN>
[,<PDP_addr>
[,<d_comp>
[,<h_comp>]]]]]]
- -
Parameter Description