2 gprs attach or detach - +cgatt – Rainbow Electronics GM862-QUAD-PY User Manual

Page 151

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

+CGCLASS - GPRS mobile station class

SELINT 2

“B” - GSM/GPRS (factory default)
“CG” - class C in GPRS only mode (GPRS only)
“CC” - class C in circuit switched only mode (GSM only)

Note: the setting is saved in NVM (and available on following reboot).

AT+CGCLASS?

Read command returns the current value of the GPRS class in the format:

+CGLASS: <class>

AT+CGCLASS=?

Test command reports the range for the parameter <class>

3.5.4.7.2 GPRS Attach Or Detach - +CGATT

+CGATT - GPRS Attach Or Detach

SELINT 0 / 1

AT+CGATT[=
<state>]

Execution command is used to attach the terminal to, or detach the terminal
from, the GPRS service depending on the parameter <state>.

Parameter:
<state> - state of GPRS attachment
0 - detached
1 - attached

Note: If the parameter is omitted the behavior of Execution command is the
same as Read command.

AT+CGATT?

Read command returns the current GPRS service state.

AT+CGATT=?

Test command requests information on the supported GPRS service states.

Example

AT+CGATT?
+CGATT: 0


OK
AT+CGATT=?
+CGATT: (0,1)


OK
AT+CGATT=1

OK

Reference GSM

07.07

SELINT 2

AT+CGATT=[
<state>]

Execution command is used to attach the terminal to, or detach the terminal
from, the GPRS service depending on the parameter <state>.

Parameter:
<state> - state of GPRS attachment
0 - detached
1 - attached

AT+CGATT?

Read command returns the current GPRS service state.

AT+CGATT=?

Test command requests information on the supported GPRS service states.

Advertising