88 show address - #cgpaddr – Rainbow Electronics GM862-QUAD-PY User Manual

Page 313

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 313 of 434

context

0
<P_type> - protocol type; a string parameter which specifies the type of

protocol

"IP" - Internet Protocol
<CSD_num> - phone number of the internet service provider

Note: issuing #CGDCONT=0 causes the values for context number 0 to
become undefined.

AT#GSMCONT?

Read command returns the current settings for the GSM context, if defined,
in the format:

+CGDCONT: <cid>,<P_type>,<CSD_num>

AT#GSMCONT=?

Test command returns the supported range of values for all the parameters.

3.5.7.1.88 Show Address - #CGPADDR

#CGPADDR - Show Address

SELINT 2

AT#CGPADDR=
[<cid>[,<cid>
[,…]]]

Execution command returns either the IP address for the GSM context (if
specified) and/or a list of PDP addresses for the specified PDP context
identifiers

Parameters:
<cid> - context identifier
0 - specifies the GSM context (see +GSMCONT).
1..5 - numeric parameter which specifies a particular PDP context

definition (see +CGDCONT command).


Note: if no <cid> is specified, the addresses for all defined contexts are
returned.

Note: issuing the command with more than 6 parameters raises an error.

Note: the command returns only one row of information for every specified
<cid>, even if the same <cid> is present more than once.


The command returns a row of information for every specified <cid> whose
context has been already defined. No row is returned for a <cid> whose
context has not been defined yet. Response format is:

#CGPADDR: <cid>,<address>[<CR><LF>
#CGPADDR: <cid>,<address>[…]]

where:
<cid> - context identifier, as before
<address> - its meaning depends on the value of <cid>

a) if <cid> is the (only) GSM context identifier (<cid>=0) it is

Advertising