Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
54
8 GPRS/3G Commands
8.1 Setting PDP Format: CGDCONT
Description
To set the PDP format of the GPRS/3G
Format
AT+CGDCONT=<cid> [,<PDP_type> [,<APN> [,<PDP_addr> [,<d_comp>
[,<h_comp> [,<pd1> [,…[,pdN]]]]]]]]<CR>
AT+CGDCONT?<CR>
AT+CGDCONT=?<CR>
Parameter
<cid>: (PDP Context Identifier) a numeric parameter that specifies a particular PDP
context definition. The parameter is local to the TE-MT interface and is used in other PDP
context-related commands. The range of permitted values (minimum value = 1) is returned
by the test form of the command.
<PDP_type>: (Packet Data Protocol type) a string parameter. IP Internet Protocol (IETF
STD 5)
<APN>: (Access Point Name) a string parameter which is a logical name that is used to
select the GGSN or the external packet data network. If the value is null or omitted, then
the subscription value will be requested.
<PDP_address>: a string parameter that identifies the MT in the address space applicable
to the PDP. If the value is null or omitted, then a value maybe provided by the TE during
the PDP startup procedure or, failing that, a dynamic address will be requested. The read
form of the command will continue to return the null string even if an address has been
allocated during the PDP startup procedure. The allocated address may be read using the
+CGPADDR command.
<d_comp>: a numeric parameter that controls PDP data compression (applicable for
SNDCP only)
0: off (default if value is omitted)
<h_comp>: a numeric parameter that controls PDP header compression
0: off (default if value is omitted)
<pd1>, … <pdN>: zero to N string parameters whose meanings are specific to the
<PDP_type>
Return
Value
See the Example.
Example
AT+CGDCONT=1,"IP", "CMNET"
OK
Set PDP format.
AT+CGDCONT?
+CGDCONT: 1,"IP","internet","",0,0
OK
Query current PDP format.
AT+CGDCONT=?
+CGDCONT: (1-16),"IP",,,(0-2),(0-3)
+CGDCONT: (1-16),"PPP",,,(0-2),(0-3)
Query the value range of the PDP format.