11.12 AT+CGREG GPRS Network Registration Status
AT+CGREG write command enables presentation of URC "+CGREG: <stat>" when <n>=1 and
Description:
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.
Test Command Syntax:
Response:
Read Command Syntax:
Response:
Write Command Syntax:
Response:
Parameter Descriptions:
<n>
0
Default. 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.
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371G)
AT+CGREG=?
+CGREG: (list of supported <n>s)
OK
AT+CGREG?
+CGREG: <n>, <stat>
OK
+CGREG: <n>, <stat>[, <lac>, <ci>]
OK
ERROR
+CME ERROR
Chapter 11 – GPRS Commands
187
Need help?
Do you have a question about the MultiModem EDGE and is the answer not in the manual?