Rainbow Electronics GM862-QUAD-PY User Manual

Page 348

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 348 of 434

#GPRS - GPRS Context Activation

SELINT 0 / 1

Now GPRS context has been deactivated, IP is lost.

Note

It is strongly recommended to use the same command (e.g. #GPRS) to
activate the context, deactivate it and interrogate about its status.


#GPRS - GPRS Context Activation

SELINT 2

AT#GPRS=
[<mode>]

Execution command deactivates/activates the PDP context #1, eventually
proceeding with the authentication with the parameters given with #PASSW
and #USERID.

Parameter:
<mode> - PDP context activation mode
0 - PDP context #1 deactivation request
1 - PDP context #1 activation request

In the case that the PDP context #1 has been activated, the result code OK
is preceded by the intermediate result code:

+IP: <ip_address_obtained>

reporting the local IP address obtained from the network.

Note: at least a socket identifier needs to be associated with PDP context
#1
in order to every #GPRS action be effective; by default the PDP context
#1
is associated with socket identifiers 1, 2 and 3, but it is possible to
modify these associations through #SCFG. Trying to issue a #GPRS action
when no socket identifier is associated with PDP context #1 raises an
error.

Note: if the PDP context #1 has been activated issuing AT#GPRS=1, then
• if you request to deactivate the PDP context #1 issuing

AT#EMAILACT=0 an ERROR is raised and nothing happens

• if you request to deactivate the PDP context #1 during a call issuing

AT#GPRS=0 and then, after the call termination, you want to activate
the PDP context #1 again through #GPRS, you need to issue the
following sequence of three commands

AT#GPRS=1
OK
AT#GPRS=0
OK

AT#GPRS=1
OK

(Analogous considerations if you want to request the activation of PDP
context #1
issuing AT#EMAILACT=1, see #EMAILACT)


Note: this command is not allowed if GSM context has been activated (see

Advertising