Westermo GD-01 User Manual
Page 156
156
6196-2220
+CGATT – GPRS attach or detach, (GPRS command)
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, 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:
+CGATT= [
+CGATT?
Response Syntax:
OK
ERROR
Response on “+CGATT?”:
+CGATT:
Response on “+CGATT=?”:
+CGATT: (list of supported
Defined Values:
indicates the state of GPRS attachment
0:
detached
1 :
attached
Other values are reserved and will result in an ERROR response
to the execution command.
Command example
Possible responses
Note
AT +CGATT=1
OK
–
B A C K