Gprs Attach Or Detach +Cgatt - Multitech MMCModem GPRS (MTMMC-G) Reference Manual

Wireless gsm/gprs modems at commands reference guide
Table of Contents

Advertisement

GPRS Attach or Detach +CGATT

Description:
The execution command is used to attach the modem to, or detach the modem from, the GPRS service.
After the command has completed, the modem remains in V.25ter command state. If the modem 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.
Values:
<state> Indicates the state of GPRS attachment
0
1
2
Other values are reserved and will result in an ERROR response to the execution command.
Syntax:
Command Syntax: AT+CGATT
Command
AT+CGATT= [<state>]
AT+CGATT?
AT+CGATT=?
AT+CGATT=1
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)
Detached
Attached
Combined detach (GPRS and GSM detach in the same network request)
Possible Responses
OK
ERROR
+CGATT: <state>
OK
+CGATT: (list of supported
<state>s)
OK
OK
Chapter 15 – GPRS Commands
155

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents