Specifications
Command Reference
Rev 3.2 Oct.05 65
+CGDCONT=
<cid>
[,<PDP_type>]
[,<APN>]
[,<PDP_addr>]
[,<data_comp>]
[,<head_comp>]
+CGDCONT?
+CGDCONT=?
Define Packet Data Protocol (PDP) context
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
+CGDCONT=?.
Note: The D**## command (used to establish GPRS connections) uses only
those settings assigned to the PDP Context Identifier 1 (that is, <cid>=1).
Note: A special form of the set command, +CGDCONT= <cid> causes the
values for context number <cid> to become undefined.
+CGDCONT? returns the current settings for each defined context, while
+CGDCONT=? returns values supported as a compound value. (The parameter
value ranges for each <PDP_type> are returned on a separate line.)
Note: The Sierra Wireless modem supports only one active PDP context at a
time.
Supported values
The set command specifies a number of parameters:
<cid> (PDP Context Identifier) is a numeric parameter which specifies a
particular PDP context definition. The range of permitted values (minimum value
= 1) is returned by +CGDCONT=?. (See also +CGPADDR on page 70.)
<PDP_type> (Packet Data Protocol type) is a string parameter which specifies
the type of packet data protocol. Only the IP context is supported:
• <PDP_type>=IP Internet Protocol (IETF STD 5)
<APN> (Access Point Name) is a string parameter 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> is 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 may be
provided by the computer during the PDP startup procedure or, failing that, a
dynamic address will be requested. +CGDCONT? returns 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 (page 70).
<data_comp> is a numeric parameter that controls V.42bis PDP data
compression, 0 for off, 1 for on.
<head_comp> is a numeric parameter that controls PDP header compression, 0
for off, 1 for on.
Table 3-9: Command Reference Table (ASCII Alphabetic)
Command Description