User guide

Developers guidelines | AT commands
198 June 2010
AT+CGDSCONT Define secondary PDP context
Execution
command: AT+CGPADDR=[<cid>[,<cid>[,...]]]
Response: +CGPADDR: <cid>,<pdp_addr><CR><LF>
[+CGPADDR: <cid>,<pdp_addr><CR><LF>
[...]]
Test command: AT+CGPADDR=? Shows if the command is supported.
Test command
response: +CGPADDR: (list of defined <cid>s)
Parameters:
<cid>: Integer. Specifies a particular PDP context definition (see AT+CGDCONT).
If no <cid> is specified, the addresses for all defined contexts are returned.
<pdp_address>: A string that identifies the ME in the address space applicable to the PDP.
The address may be static or dynamic.
For a static address, it will be the one set by the +CGDCONT and +CGDS-
CONT commands when the context was defined.
For a dynamic address it will be the one assigned during the last PDP con-
text activation that used the context definition referred to by <cid>.
<PDP_address> is omitted if none is available
Description: Specifies PDP context parameter values for a Secondary 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, +CGDSCONT= <cid> causes the val-
ues 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.
Note: If <cid> states an already existing, primary context, this will be con-
verted to a secondary one, provided of course, that stated <p_cid> is a dif-
ferent and existing primary account defined with +CGDSCONT. Any
secondary contexts attached to the converted context disappears.
Set command: AT+CGDSCONT=[<cid> ,<p_cid> [,<d_comp> [,<h_comp>]]]
Read command: AT+CGDSCONT? (Read the current general parameter settings)