GPRS/EDGE
3-332 AT Commands Reference Manual June 30, 2008
+CGDCONT, Define PDP Context

This command specifies the PDP (Packet Data Protocol) context.

Command
Type Syntax Response/Action Remarks
Set AT+CGDCONT=[<cid>
[,<PDP_type>[,<APN>
[,<PDP_addr>[,<d_com
p> [,<h_comp>]]]]]]
OK
or:
+CME ERROR: <err>
The Set command specifies the context
identification parameter values for a
PDP context. A special form of the Set
command, +CGDCONT= <cid>
causes the values for context number
<cid> to become undefined.
Read AT+CGDCONT? +CGDCONT: <cid>,
<PDP_type>, <APN>,
<PDP_addr>,
<data_comp>,
<head_comp>[<CR><
LF>+CGDCONT:
<cid>, <PDP_type>,
<APN>, <PDP_addr>,
<data_comp>,
<head_comp>
The Read command returns the current
settings for each defined context.
Test AT+CGDCONT=? +CGDCONT: (range of
supported <cid>s),
<PDP_type>, , , (list of
supported <d_comp>s),
(list of supported
<h_comp>s)
The Test command returns the values
supported as a compound value. If the
ME supports several PDP types,
<PDP_type>, the parameter value
ranges for each <PDP_type> are
returned on a separate line.