HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Network Services

8.3.2 Querying the Current Status of Network Registration

Read AT+CREG? command

Function Queries the current status of network registration.

Response z In case of successful execution:

<CR><LF>+CREG:<n>,<stat>[,<lac>,<ci>]<CR><LF>

<CR><LF>OK<CR><LF>

zIn case of an error during command execution: <CR><LF>ERROR<CR><LF>

zIn case of an error related to the MT during command execution: <CR><LF>+CME ERROR: <err><CR><LF>

Parameter description

<stat>: current status of network registration.

z0: does not register. Currently, the ME does not search for a new operator to be registered with.

z1: registers with the local network.

z2: does not register. The ME, however, is searching for a new operator to be registered with.

z3: Network registration is rejected.

z4: unknown reason.

z5: registers with the roaming network.

<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 AT+CREG=[<n>] command

Function Queries the current status of network registration.

Response z In case of successful execution: <CR><LF>OK<CR><LF>

zIn case of an error during command execution: <CR><LF>ERROR<CR><LF>

zIn case of an error related to the MT during command execution: <CR><LF>+CME ERROR: <err><CR><LF>

Note:

In this section, AT+CREG= is equivalent to AT+CREG=0.

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

79

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 96
Image 96
Huawei MG323 manual Querying the Current Status of Network Registration, Setting the Status of Network Registration