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. 131
Parameter description
<stat>: numeric parameter, GPRS registration status.
z 0: has not been registered and the ME does not search for a new network
currently. The ME is in GMM-NULL or GMM-DEREGISTERED-INITIATED state.
The GPRS service is disabled and the subscriber can request the ME to attach
to the GPRS.
z 1: has been registered with the local network.
z 2: has not been registered but the ME is searching for a new network. The ME is
in GMM-NULL or GMM-DEREGISTERED-INITIATED state. The GPRS service
is enabled but no available PLMN exists. After an available PLMN exists, the ME
immediately attaches to the GPRS.
z 3: Registration is rejected. The GPRS service is disabled and the ME cannot be
attached to the GPRS.
z 4: unknown.
z 5: has been registered with the roaming network.
9.9.3 Setting the Parameters Unsolicitedly Reported When the GPRS Registration Status Changes
Write
command
AT+CGREG=[<n>]
Function Sets the parameters unsolicitedly reported when the GPRS
registration status changes.
Response z In case of successful execution: 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>
Note:
z When the ME has been attached to the GPRS, if the PLMN reselects a network that does
not support GPRS or a network where the SIM card disables the GPRS application, this
command still returns the current status as follows: <stat>=1 or <stat>=5.
z URC: When the GPRS network registration status of the ME changes, the following status is
returned:
z +CGREG:<stat>
z If no parameters of this command are set, AT+CGREG= considers the previously set values
valid for various parameters.
9.9.4 +CGREG – Command for Reporting Unsolicitedly
URC <CR><LF>+CGREG: <stat><CR><LF>
Function Indicates that the GPRS network registration status of the ME is
changed.