AT Command Set
MC35_ATC_01_V05.00 Page 159 of 256 15.07.2002
6 GPRS AT commands in accordance with GSM 07.07 This chapter provides GPRS specific AT commands. For information on us ing GPRS commands in
multiplex mode see chapter 4.28.
6.1 Commands specific to MTs supporting GPRS
This clause defines commands that a TE (Terminal Equipment, i.e. an application running on a
controlling PC) may use to control a GPRS MT (Mobile Termination, the Wireless Module). Refer ro
Chapter 6.4 for selected examples of using GPRS AT commands.
6.1.1 AT+CGATT GPRS attach and detach
Test command
AT+CGATT=?
The test command is used for requesting information on the supported GPRS
service states.
Response
+CGATT: (list of supported <state>s)
OK/ERROR/+CME ERROR
Parameter
<state> See write command
Read command
AT+CGATT?
The read command returns the current GPRS service state.
Response
+CGACT: <state>
OK/ERROR/+CME ERROR
Parameter
<state> See write command
Write command
AT+CGATT=
[<state>]
The execution command enables the MT get attached to or det ached from the
GPRS service. After the command has completed, the MT rem ains in V.25ter
command state. If the MT is already in the requested state, the com mand is ig-
nored and the OK response is returned. Any active PDP contex ts will be auto-
matically deactivated when the attachment state changes to detached.
If the MT is not able to attach for more than 5 minutes, the command returns an
error code, though the MT is still trying to attach.
Parameter
<state> indicates the state of GPRS attachment
0 – detached
1 – attached
Response
OK/ERROR/+CME ERROR
Reference
GSM 07.07