HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Commands for Data Services
Issue 02 (2010-11-23) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd. 130
9.9.1 Checking the Parameter Range Supported by this Command
Test
command
AT+CGREG=?
Function Checks the parameter range supported by this command.
Response z In case of successful execution:
<CR><LF>+CGREG:(list of supported <n>s)<CR><LF>
<CR><LF>OK<CR><LF>
z In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
z In case of an error related to the MT during command execution:
<CR><LF>+CME ERROR: <err><CR><LF>
Parameter description
<n>: numeric parameter.
z 0 (default value): disables the URC
z 1: enables the URC“+CGREG:<stat>”
z 2: enables the URC“+CGREG:<stat>[<lac>,<ci>]”
<lac>: Location Area Code (LAC)
<ci>: Cell Identity (CI)
9.9.2 Querying the Parameters Unsolicitedly Reported When the Current GPRS Registration Status Changes
Read
command
AT+CGREG?
Function Queries the parameters unsolicitedly reported when the current GPRS
registration status changes.
Response z In case of successful execution:
When <n> is not set to 2:
<CR><LF>+CGREG: <n>,<state><CR><LF>
<CR><LF>OK<CR><LF>
When <n> is set to 2:
<CR><LF>+CGREG: <n>,<state>,<lac>,<ci><CR><LF>
<CR><LF>OK<CR><LF>
z In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
z In case of an error related to the MT during command execution:
<CR><LF>+CME ERROR: <err><CR><LF>