Neo_M660 AT Command Set
Copyright © Neoway Technology Co., Ltd
5
Value
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <error><CR><LF>
Example
AT+CPAS
+CPAS: 0
OK
AT+CPAS
+CME ERROR
:
<error>
Remarks
N/A
2.2 Querying the Network Registration Status: +CREG
Description
To query the network registration status of the module
Format
AT+CREG=[<n>]<CR>
AT+CREG?<CR>
Parameter
<n>:
0: Forbid unsolicited result codes of network registration (default setting).
1: Allow unsolicited result codes of network registration.
2: Allow unsolicited location information (Cell ID, Local ID) of network registration.
Return
Value
<CR><LF>+CREG: <n>,<stat>[,<lac>,<ci>[,<Act>]]<CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>
<n>:
Value:
0: Forbid unsolicited result codes of network registration (default setting).
1: Allow unsolicited result codes of network registration.
2: Allow unsolicited location information (Cell ID, Local ID) of network registration.
<stat>:
Value:
0: Unregistered. The device is not searching for new carriers.
1: Registered the local network
2: Unregistered. The device is searching for base stations.
3: The registration is rejected.
4. Unknown code
5: Registered, roaming
<lac>: string type; two
-
byte location area code in hexadecimal format
<ci>: string type; two
-
byte cell ID in hexadecimal format