Rainbow Electronics MG260 User Manual
Page 125
![background image](/manuals/281850/125/background.png)
FLYFOT-MG260-MODULE
Page: 125 / 246
This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.
z
Other values are reserved and will result in an ERROR response to the execution command.
Before the activation of the context, the MT has to attached himself to the GPRS network if
necessary.
13.4 GPRS network registration status +CGREG
Description
The set command controls the presentation of an unsolicited result code +CGREG:
and there is a change in the MT's GPRS network registration status, or code +CGREG:
when
The read command returns the status of result code presentation and an integer
whether the network has currently indicated the registration of the MT. Location information elements
Syntax
Command
Possible response(s)
AT+CGREG=
Note: set gprs mode
OK
Note: succeed
AT+CGREG?
Note: get gprs state
+CGREG:
OK
Note: succeed
AT+CGREG=?
+CGREG: (0,1,2)
OK
Note: get parameter range
AT+CGREG +CME
ERROR:
3
Note: not support
Defined values
z
0 : disable network registration unsolicited result code
z
1 : enable network registration unsolicited result code +CGREG:
z
2 : enable network registration and location information unsolicited result code +CGREG:
z
0 : not registered, ME is not currently searching a new operator to register to
z
1 : registered, home network