
GSM/GPRS Module
M35
AT Commands Manual
M35
_AT_Commands_Manual Confidential / Released 111 /
186
10
GPRS Commands
10.1. AT+CGATT Attach to/Detach from GPRS Service
Parameter
Example
AT+CGATT=1
// Attach to GPRS service
OK
AT+CGATT=0
// Detach from GPRS service
OK
AT+CGATT?
// Query the current GPRS service state
+CGATT: 0
AT+CGATT Attach to/Detach from GPRS Service
Test Command
AT+CGATT=?
Response
+CGATT:
(list of supported
<state>
s)
OK
Read Command
AT+CGATT?
Response
+CGATT: <state>
OK
Write Command
AT+CGATT=<state>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
<state>
Indicates the state of GPRS attachment
0
Detached
1
Attached
Other values are reserved and will result in an
ERROR
response to the Write Command