Chapter 3: AT Commands Reference
June 30, 2008 AT Commands Reference Manual 3-171
+CREG, Network Registration Status

The following table shows the +CREG parameters.

Command Type Syntax Response/Action Remarks
Set AT+CREG=<n> OK
or:
+CME ERROR: <err
The Set command controls the
presentation of an unsolicited result
code and the result of the Read
operation.
Read AT+CREG? +CREG:
<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 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+CREG=? +CREG: (list of
supported <n>s)
OK

Table 3-102: +CREG Parameters

<Parameter> Description
<n> 0 Disables the network registration unsolicited result code.
1 Enables the network registration unsolicited result code +CREG: <stat>.
2 Enables the network registration and location information in unsolicited
reports and Read command +CREG:<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.