BGS2T AT Command Set
11.3 AT+CGATT
BGS2T_ATC_V01.301
Page 301 of 554
1/31/12
c
11.3
AT+CGATT GPRS attach or detach
Syntax
Command Description
The test command is used for requesting information on the supported GPRS service states.
The read command returns the current GPRS service state.
The write command is used to attach the MT to, or detach the MT from the GPRS service. After the command
has completed, the MT remains in V.250 command state. If the MT is already in the requested state, the com-
mand is ignored and the OK response is returned. Any active PDP contexts will be automatically deactivated
when the attachment state changes to detached.
If the MT is not able to attach for more than 5 minutes, command returns "ERROR" or "+CME ERROR:
unknown", but MT is still trying to attach.
If the MT is not able to detach for more than 80 seconds, command returns "ERROR" or "+CME ERROR:
unknown", but MT is still trying to detach. If an attach is issued during a running detach, command returns
"ERROR" or "+CME ERROR: unspecified GPRS error".
Parameter Description
Indicates the state of GPRS attachment.
0
(P)
detached
[1]
attached
Notes
•
If the MT is in dedicated mode, write command returns "+CME ERROR: operation temporary not allowed".
•
When the module is GPRS attached and a PLMN reselection occurs to a non-GPRS network or to a network
where the SIM is not subscribed to for using GPRS, the resulting GMM (GPRS mobility management) state
according to GSM 24.008 is REGISTERED/NO CELL, meaning that the read command will still show
=1.
Test Command
AT+CGATT=?
Response(s)
+CGATT:
(list of supported
OK
Read Command
AT+CGATT?
Response(s)
+CGATT:
OK
Write Command
AT+CGATT=
]
Response(s)
OK
ERROR
+CME ERROR:
PIN ASC0 MUX1 MUX2 MUX3
Last
Reference(s)
+
+
+
+
+
-
-
3GPP TS 27.007
<state>
(num)
Confidential / Released