HUAWEI MG323 GSM M2M Module
AT Command Interface Specification
8.3.2 Querying the Current Status of Network Registration
Read
command
Function
Response
Parameter description
<stat>: current status of network registration.
<lac>: location area code, which consists of two bytes in hexadecimal mode (for
example, "00C3" = 195 in decimal mode).
<ci>: cell information, which consists of two bytes in hexadecimal mode.
8.3.3 Setting the Status of Network Registration
Write
command
Function
Response
Note:
In this section, AT+CREG= is equivalent to AT+CREG=0.
Issue 02 (2010-11-23)
AT+CREG?
Queries the current status of network registration.
In case of successful execution:
<CR><LF>+CREG:<n>,<stat>[,<lac>,<ci>]<CR><LF>
<CR><LF>OK<CR><LF>
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
In case of an error related to the MT during command execution:
<CR><LF>+CME ERROR: <err><CR><LF>
0: does not register. Currently, the ME does not search for a new operator to be
registered with.
1: registers with the local network.
2: does not register. The ME, however, is searching for a new operator to be
registered with.
3: Network registration is rejected.
4: unknown reason.
5: registers with the roaming network.
AT+CREG=[<n>]
Queries the current status of network registration.
In case of successful execution: <CR><LF>OK<CR><LF>
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
In case of an error related to the MT during command execution:
<CR><LF>+CME ERROR: <err><CR><LF>
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Commands for Network Services
79