Chapter 3: AT Commands Reference
December 31, 2007 AT Commands Reference Manual 3-331
Note: This command has the characteristics of both the V.25ter action and parameter
commands. Therefore, it has the Read form in addition to the Execution/Set and Test
forms.
The following table shows the +CGATT parameters.
Example
AT+CGATT=?
+CGATT: (0,1)
OK
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=0
OK
Command Type Syntax Response/Action Remarks
Set
AT+CGATT=
[<state>]
OK
or:
+CME ERROR: <err>
The Set command
attaches/detaches the
ME to/from the GPRS
service.
Read
AT+CGATT? +CGATT: <state>
OK
or:
+CME ERROR: <err>
The Read command
returns the current
GPRS service state.
Test
AT+CGATT=? +CGATT: (list of supported <state>s)
OK
or:
+CME ERROR: <err>
The Test command
requests information on
the supported GPRS
service states.
Table 3-218: +CGATT Parameters
<Parameter> Description
<state> Indicates the state of the GPRS attachment:
0 Detached.
1 Attached.