Cgpaddr – show pdp address – Westermo GDW-11 User Manual

Page 239

Advertising
background image

GPRS commands 239

6615-2220

+CGPADDR – Show PDP address

Description:

The execution command returns a list of PDP addresses for the specified context identi-
fiers. The test command returns a list of defined <cid>s

Syntax:

+CGPADDR=[<cid> [,<cid> [,. . .]]]

Response Syntax:

+CGPADDR: <cid>,<PDP_addr>

[+CGPADDR: <cid>,<PDP_addr>

[...]]

AT+CGPADDR=?

+CGPADDR: (list of defined <cid>s)

Parameters:

<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.

Command example

Possible responses

Note

AT+CGPADDR=1 +CGPADDR=1,"107.210.5.4"
OK

AT+CGPADDR=? +CGAPDDR:

(1,2,4)

Possible

values

OK

AT+CGPADDR +CGPADDR:

1,

+CGPADDR:

2,"10.3.73.151"

+CGPADDR:

4,

Advertising
This manual is related to the following products: