Appendix C. Useful Configuration Commands
AT+CREG
Network registration
Test command
AT+CREG=?
Response
+CREG:
list of supported
<n>
s
OK
Parameter
See set command
Read command
AT+CREG?
Response
+CREG : <mode>, <stat> [ ,<lac>,<ci> ] for AT+CREG? Command
only
Set command
AT+CREG=[<n>]
Response
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 network
cell.
OK
Parameter
<mode>
0: Disable network registration unsolicited result code (default)
1: Enable network registration code result code +CREG : <stat>
2: Enable network registration and location information unsolicited
result
code +CREG: <stat>,<lac>,<ci> if there is a change of network cell.
<stat>
0: not registered, ME is not currently searching for a new operator.
1: registered, home network.
2: not registered, ME currently searching for a new operator to register
to.
3: registration denied.
4: unknown.
5: registered, roaming.
<lac>:
string type; two byte location area code in hexadecimal format
(e.g. “00C3” equals 195 in decimal).
<ci>: string type; two byte cell ID in hexadecimal format.
C-3