Specifications
Chapter 11 – GPRS Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 204
11.12 AT+CGREG GPRS Network Registration Status
Description: AT+CGREG write command enables presentation of URC "+CGREG: <stat>" when <n>=1 and
ME's GPRS network registration status changes, or URC "+CGREG: <stat>, <lac>, <ci>" when
<n>=2 and the current network cell changes.
AT+CGREG read command queries the current URC presentation status and <stat> which
shows whether the network has currently indicated the registration of the ME. Location
information elements <lac> and <ci> are returned only if <n>=2 and ME is registered to the
network.
Syntax: Test Command: AT+CGREG=?
Response: +CGREG: (list of supported <n>s)
OK
Read Command: AT+CGREG?
Response: +CGREG: <n>, <stat>
OK
Write Command: +CGREG: <n>, <stat>[, <lac>, <ci>]
Response: OK
ERROR
+CME ERROR: <err>
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.
Parameters:
<n>
0 Default. Disable network registration unsolicited result code. Factory default value. It can be
restored to '0' with AT&F. It is also a powerup default which is not stored at power down.
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.
Notes:
• 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.
• This command is PIN protected.
• This command is supported in airplane mode.