Chapter 3: AT Commands Reference
June 30, 2008 AT Commands Reference Manual 3-173
+CGREG, GPRS Network Registration

The following table shows the +CGREG parameters.

Command
Type Syntax Response/Action Remarks
Set AT+CGREG=[<n>] OK
or:
+CME ERROR: <err>
The Set command controls the
presentation of an unsolicited result
code "+CGREG:" and the result of the
Read operation.
Read AT+CGREG? +CGREG:
<n>,<stat>[,<lac>,<ci>]
OK
or:
+CME ERROR: <err>
The Read command returns the status
of the result code presentation and
shows whether the network has
currently indicated the GPRS
registration of the G24. Location
information elements <lac> and <ci>
are returned only when <n>=2 and the
G24 is registered in the network.
Test AT+CGREG=? +CGRE G: (list of
supported <n>s)
OK
The Test command displays the
supported values of <n>.

Table 3-103: +CGREG Parameters

<Parameter> Description
<n> 0 Disables the network registration unsolicited result code.
1 Enables the network registration unsolicited result code +CGREG: <stat>.
2 Enables the network registration and location information in unsolicited result
code and Read command +CGREG:<stat>[,<lac>,<ci>].
The default is 0.
<stat> 0 Not registered, and the ME is not currently searching for a new operator to
which to register.
1 Registered, home network.
2 Not registered, but the ME is currently searching for a new operator to which
to register.
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.