beautypg.com

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

Page 239

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 s

Syntax:

+CGPADDR=[ [, [,. . .]]]

Response Syntax:

+CGPADDR: ,

[+CGPADDR: ,

[...]]

AT+CGPADDR=?

+CGPADDR: (list of defined s)

Parameters:

A numeric parameter which specifies a particular PDP context definition. If no is
specified, the addresses for all defined contexts are returned.

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

This manual is related to the following products: