User guide

Developers guidelines | AT commands
192 June 2010
Commands
AT+CGDCONT Define PDP context (ver. 1)
Description: Specifies the PDP context parameter values for a PDP context identified
by the <cid> parameter. 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 test command returns values supported as a compound value. Each
PDP type will have the parameter value range returned on a separate line.
Note:
The PDP context, identified by the <cid>, does not have to be earlier
defined (using the +CGDCONT command).
Letting values for context number <cid> become undefined, means
that the values of the <cid> are given the default values.
The read command returns the current settings for each context
defined by the +CGDCONT set command.
Set command: AT+CDGCONT=[<cid>[,<pdp_type>[,<APN>[,<pdp_addr>[,<d_comp>
[,<h_comp>[,<pd1>[,...[,<pdN>]]]]]]]]]
Read command: AT+CGDCONT? Displays the current parameter settings.
Read command
response: +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]]] [...]]
Test command: AT+CGDCONT=? Shows if the command is supported.
Test command
response: +CGDCONT: (range of supported <cid>s), <PDP_type>,,,(list of supported
<d_comp>s), (list of supported <h_comp>s)[,(list of supported
<pd1>s)[,…[,(list of supported <pdN>s)]]] [<CR><LF>+CGDCONT: (range
of supported <cid>s), <PDP_type>,,,(list of supported <d_comp>s), (list of
supported <h_comp>s)[,(list of supported <pd1>s)[,…[,(list of supported
<pdN>s)]]] [...]]
Parameters:
<cid>: Integer. Specifies the 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 command.
<pdp_type>:
<pdp_type> Description
“IP” Internet Protocol (IETF STD 5). Default value
“IPV6” Internet Protocol, version 6 (IETF RFC 2460)
<APN>: Access Point Name – a string parameter which is a logical name, 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.