Specifications
Chapter 11 – GPRS Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 159
11.12 AT+CGREG GPRS Network Registration
Status
Description: The read command returns the status of result code presentation and an integer <stat> which
shows whether the network has currently indicated the registration of the MT. Location
information elements <lac> and <ci> are returned only when <n>=2 and MT is registered in the
network.
The read command returns the status of result code presentation and an integer <stat> which
shows whether the network has currently indicated the registration of the MT.
The write command controls the presentation of an unsolicited result code “+CGREG: <stat>”
when <n>=1 and there is a change in the MT’s GPRS network registration status, or unsolicited
result code “+CGREG: <stat>, <lac>, <ci>,” when <n>=2 and there is a change of the network
cell.
Test Command Syntax: AT+CGREG=?
Response: +CGREG: (list of supported <n>s)
OK
Read Command Syntax: AT+CGREG?
Response: +CGREG: <n>, <stat>
OK
Write Command Syntax: AT+CGREG=[<n>]
Response: OK
ERROR
+CME ERROR
Parameter Descriptions:
<n>
0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code “+CGREG: <stat>”
2 Enable network registration unsolicited result code “+CGREG: <stat>, <lac>, <ci>”
<stat>
0 Not registered; ME is not currently searching an operator to register to. The ME is in GMM state
GMM-NULL or GMM-DEREGISTERED-INITIATED.
The GPRS service is disabled; the ME is allowed to attach to GPRS if requested by the user.
1 Registered; home network. The ME is in GMM state GMM-REGISTERED or GMM-ROUTING-
AREA-UPDATING-INITIATED INITIATED on the home PLMN
2 Not registered, but ME is currently trying to attach or searching an operator to register to. The
ME is in GMM state GMM-DEREGISTERED or GMM-REGISTERED-INITIATED. The GPRS
service is enabled, but an allowable PLMN is currently not available. The ME will start a GPRS
attach as soon as an allowable PLMN is available.
3 Registration denied. The ME is in GMM state GMM-NULL. The GPRS service is disabled, the
ME is not allowed to attach to GPRS if requested by the user.
4 Unknown
5 Registered; roaming. The ME is in GMM state GMM-REGISTERED or GMMROUTING-AREA-
UPDATING-INITIATED on a visited PLMN.
<lac>
Two-byte location area code in hexadecimal format.
<ci>
Two-byte cell ID in hexadecimal format.
Unsolicited Result Code:
URC 1
+CGREG: <stat>
Indicates a change in the MT’s GPRS network registration status.
URC 2
+CGREG: <stat>, <lac>, <ci>
Indicates a change in the MT’s GPRS network registration status and a change in of the network cell including
location information.
Note:
When the module is GPRS attached and a PLMN reselection occurs to a non-GPRS network or to a network where
the SIM is not subscribed to for using GPRS, the resulting GMM (GPRS mobility management) state according to
GSM 24.008 is REGISTERED/NO CELL, meaning that the read command will still show <stat>=1 or <stat>=5.