AT Commands Modem Terminated
201
AT+CGREG
GPRS Network Registration
Description:
Controls the presentation of the unsolicited result code
when
<n>=’1’ and there is a change in the MT’s GPRS network registration status, or
when <n>=’2’ and there is a change of the network
cell.
Note
: If the GPRS MT also supports circuit mode services, AT+CREG and the
+CREG result code apply to the registration status and location information for those
services.
Set command:
AT+CGREG=
[<n>]
Read command:
AT+CGREG? Displays the current <n>, <stat>[, <lac>, and <ci>] settings.
Test command:
AT+CGREG=? Shows if the command is supported.
Test command
response:
+CGREG: (list of supported <n>s)
Parameters:
<n>:
<n>
Description
0
Disable network registration unsolicited result code.
Default setting
1
Enable network registration unsolicited result code
2
Enable network registration and location information
unsolicited result code
<stat>:
<stat>
Description
0
Not registered, ME is not currently searching a new
operator to register to
1
Registered, home network
2
Not registered, but ME is currently searching a new
operator to register to
3
Registration denied
4
Unknown
5
Registered, roaming
<lac>:
Two byte location area code in hexadecimal format.
<ci>:
Two byte cell ID in hexadecimal format.