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