Rainbow Electronics MG260 User Manual

Page 135

Advertising
background image

FLYFOT-MG260-MODULE

Page: 135 / 246

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

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

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

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

Advertising