![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/6/e3/6e35dc88-09f5-4506-bfb8-8724554a1fd5/6e35dc88-09f5-4506-bfb8-8724554a1fd5-bgb7.png)
Chapter 3: AT Commands Reference
April 15, 2008 G24-L AT Commands Reference Manual 3-119
+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-L. Location information
elements <lac> and <ci> are returned
only when <n>=2 and the G24-L is
registered in the network.
Test
AT+CREG=? +CREG: (list of
supported <n>s)
OK
Table 3-76: +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.