Cgatt, Gprs Attach Or Detach - Fibocom G510 User Manual

G5/g6-family at commands
Hide thumbs Also See for G510:
Table of Contents

Advertisement

12.2.5 +CGATT, GPRS Attach or Detach

This command attaches/detaches the ME to/from the GPRS service. When the command has completed,
the ME remains in V.25ter command state. If the ME 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.
Command
Set
Read
Test
Note:
This command has the characteristics of both the V.25ter action and parameter commands.
Therefore, it has the Read form in addition to the Execution/Set and Test forms.
The following table shows the +CGATT parameters.
<Parameter>
<state>
Example:
AT+CGATT=?
+CGATT: (0,1)
OK
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=0
OK
G5/G6-Family AT Commands User Manual
Syntax
Response/Action
AT+CGATT=
OK
<state>
or:
+CME ERROR: <err>
AT+CGATT?
+CGATT: <state>
OK
AT+CGATT=?
+CGATT: (list of
supported <state>s)
OK
Description
Indicates the state of the GPRS attachment:
0 Detached.
1 Attached.
Remarks
The Set command
attaches/detaches the ME to/from
the GPRS service.
The Read command returns the
current GPRS service state.
The Test command requests
information on the supported GPRS
service states.
Page 193 of 243

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G510sG520G610-a20 seriesG620-a20 series

Table of Contents