170
6196-2220
Defined values:
<response>
is a numeric parameter which specifies how the request should be responded to.
0:
reject the request
1:
accept and request that the PDP context be activated
If <response> is omitted it is assumed to be 0.
Other values are reserved and will result in the ERROR response.
<cid>:
a numeric parameter which specifies a particular PDP context definition.
Command example
Possible responses
Note
+CRING: GPRS "IP",
Incoming Ring
"122.41.74.238"
AT+CGANS=1
CONNECT
Coneection established
AT+CGANS=?
+CGANS= (0-1)
OK
+CGPADDR – Show PDP address, (GPRS command)
Description
The execution command returns a list of PDP addresses for the specified context
identifiers.
The test command returns a list of defined <cid>s
Syntax:
+CGPADDR=[<cid> [,<cid> [,...]]]
+CGPADDR=?
Response Syntax:
+CGPADDR: <cid>,<PDP_addr>
[<CR><LF>+CGPADDR: <cid>,<PDP_addr>
[...]]
Response on “+CGPADDR=?”
+CGPADDR: (list of defined <cid>s)
Defined values:
<cid>:
A numeric parameter which specifies a particular PDP context definition. If no <cid> is
specified, the addresses for all defined contexts are returned.
<PDP_address>:
A string that identifies the MT 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
command when the context was defined. For a dynamic address it will be the one
Summary of Contents for GD-01 TCP
Page 147: ...147 6196 2220...