Cgatt – gprs attach or detach – Westermo GDW-11 User Manual
Page 222

222 GPRS commands
6615-2220
+CGATT – GPRS attach or detach
Description:
The execution 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.25ter command state. If
the MT is already in the requested state, the command is ignored and the OK response
is returned. If the requested state cannot be achieved because the GPRS is not supported
by the MT, an ERROR or +CME ERROR response is returned. Extended error responses
are enabled by the +CMEE command.
Any active PDP contexts will be automatically deactivated when the attachment state
changes to detached.
The read command returns the current GPRS service state.
The test command is used for requesting information on the supported GPRS service
states.
Syntax:
AT+CGATT= [
Response Syntax:
AT+CGATT?
+CGATT:
AT+CGATT=?
+CGATT: (list of supported
Parameters:
Indicates the state of GPRS attachment
0: detached
1: attached
2:
combined detach (GPRS and GSM detach in the same network request)
Other values are reserved and will result in an ERROR response to the execution com-
mand.
Command example
Possible responses
Note
AT+CGATT=1 OK
Configure
command