
CREG – request network registration status
Verifies the current network registration status of the Quectel BG96 module. First set the
Mode
to
determine which information is displayed, and if it's displayed automatically when a change occurs.
Type
Syntax
Returned Result
Test
AT+CREG=?
+CREG: (0-2)
OK
Read
AT+CREG?
Perform the Write command
first so that you can set the
returned details of the Read
command.
The response depends on which mode you
selected in the write command.
The initial number returned is the mode.
If the mode = 0, the following response occurs:
+CREG: 0,<regStatus>
OK
If the mode = 1, the following response occurs:
+CREG: 1, <regStatus>
OK
If the mode = 2, the following response occurs:
+CREG: 2, <regStatus>[, <netLac>,
<netCellID>[, <AcT>]]
where:
•
<regStatus>
is the registration status,
either:
•
0
– Not registered, the device is
currently not searching for new
operator
•
1
– Registered to home network
•
2
– Not registered, but ME is
currently searching for a new
operator
•
3
– Registration denied
•
4
– Unknown, e.g. out of
GSM/UMTS/LTE coverage.
•
5
– Registered, roaming. ME is
registered at a foreign (national or
international) network
Eseye-enabled Quectel BG96 module Developer Guide v1.8
58
Quectel BG96 module AT commands