4 ip address information – Rainbow Electronics GM862-QUAD-PY User Manual

Page 48

Advertising
background image





Easy GPRS User Guide

80000ST10028 Rev. 4 - 16/07/08

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

page 48 of 63

3.2.4 IP address information


Once activated the GSM context, to interrogate the module about the IP address assigned by the
network, a new command has been implemented: #CGPADDR. It reports the all addresses relative to
the active contexts, GPRS and GSM; GPRS contexts are displayed exactly like in the case of the
standard +CGPADDR.

Example:

We want to activate GSM context defined with #GSMCONT.

Command:
AT#SGACT = 0,1

Answer:
#SGACT: “10.137.93.60”

Now we want to display the IP address.

Command:
AT#CGPADDR = 0

Answer:
#CGPADDR: 0,” 10.137.93.60”

3.2.5 Limitations and connections with other AT commands


If the GSM context is active, it is not allowed to activate a GPRS context.
This check has been introduced because GPRS activation would fail anyway: Telit module works in
Class B, so, if a GSM CSD call is on, no GPRS operation is possible.

GSM context activation is affected, like all CSD calls, by the AT+CBST command. The maximum data
rate that can be set through this command is 14400 bps (Network dependent).
Context activation is just allowed with “non transparent” data calls. This property is the default value of
one of the AT+CBST command parameters.

Advertising