10 show pdp address +cgpaddr, 1 descriptio, 2 syntax – Rainbow Electronics 900 User Manual
Page 134: 3 defined values, 10 show, Address +cgpaddr

FLYFOT-M260-MODULE
Page: 134 / 239
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.
z
2 : GPRS preferred (use circuit switched if GPRS is not available)
z
3 : Circuit switched preferred (use GPRS if circuit switched not available)
z
Other values are reserved and will result in an ERROR response to the set command.
13.10 Show PDP address +CGPADDR
13.10.1 Descriptio
The execution command returns a list of PDP addresses for the specified context identifiers.
The test command returns a list of defined <cid>s
13.10.2 Syntax
Command
Possible response(s)
+CGPADDR=[<cid> [,<cid>
+CGPADDR: <cid>,<PDP_addr>
[,…]]]
[<CR><LF>+CGPADDR: <cid>,<PDP_addr>
[...]]
OK
+CGPADDR=?
+CGPADDR: (list of defined <cid>s)
OK
13.10.3 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 assigned during the last PDP context
activation that used the context definition referred to by <cid>. <PDP_address> is omitted if none is
available.
Example
In this example 3 Cids are defined.
AT+CGPADDR=1
+CGPADDR=1,"107.210.5.4"
OK
AT+CGPADDR=?
+CGAPDDR: (1,2,4)
OK
AT+CGPADDR