Specifications

AT Command Set
TC35-ATC-01-V02.10 Page 80/145 02.10 / 23.05.2001
4.37 AT+CREG Network registration
Test command
AT+CREG=?
Response
+CREG: (list of supported <n>s) OK
Parameter
See write command
Read command
AT+CREG?
Response
TA returns the status of result code presentation and an integer <stat> which
shows whether the network has currently indicated the registration of the ME.
Location information elements <lac> and <ci> are returned only when <n>=2 and
ME is registered in the network.
+CREG: <n>,<stat>[,<lac>,<ci>] OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See write command
Write command
AT+CREG=[<n
>]
Response
OK
TA controls the presentation of an unsolicited result code +CREG: <stat> when
<n>=1 and there is a change in the ME network registration status, or code
+CREG: <stat>[,<lac>,<ci>] when <n>=2 and there is a change of the network
cell.
Parameter
<n> 0 disable network registration unsolicited result code
1 enable network registration unsolicited result code
+CREG: <stat>
2 Enable network registration and location information unsolic-
ited result code +CREG:<stat>[,<lac>,<ci>]
Note: Optional parameters will not be displayed during call
<stat> 0 not registered, ME is not currently searching for a new opera-
tor at which to register
1 registered, home network
2 not registered, but ME is currently searching for a new
operator at which to register
3 registration denied
4 unknown
5 registered, roaming
<lac> string type; two byte location area code in hexadecimal format (e.g. "00C3"
equals 193 in decimal)
<ci> string type; two byte cell ID in hexadecimal format
Unsolicited result code
When <n>=1 and there is a change in the ME network registration status:
+CREG: <stat>
When <n>=2 and there is a change in the ME network registration status or a
change of the network cell:
+CREG: <stat>[,<lac>,<ci>]
Reference
GSM 07.07
Note
Optional parameters will not be displayed during call