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.
114
OK
9.3 AT+CGEREP - Command for Reporting GPRS Events
The
AT+CGEREP
command sets the unsolicited reporting of GPRS events. When
certain events occur on the GPRS MT or the network, this command can enable or
disable the sending of
URC+CGEV:
XXX
from the MT to the TE. For the +CGEV
reporting command, refer to section 9.11 .
9.3.1 Checking the Supported GPRS Event Reporting Mode
Test
command
AT+CGEREP=?
Function
Checks the supported GPRS event reporting mode.
Response
z
In case of successful execution:
<CR><LF>+CGEREP: (list of <mode>s),(list of supported
<bfr>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: <CR><LF>+CME ERROR:
<err><CR><LF>
Parameter description
<mode>: numeric parameter.
z
0: buffers the URCs on the MT. If the buffer is full, the oldest URC is discarded
and URCs are not sent to the TE.
z
1: When the MT-TE link is reserved (for example, in online data mode), URCs
are discarded. Otherwise, URCs are directly forwarded to the TE.
z
2: When the MT-TE link is reserved (for example, in online data mode), URCs
are buffered. After the MT-TE link is available, all URCs are sent to the TE.
Otherwise, URCs are directly forwarded to the TE. If the buffer is full, the oldest
URC is discarded.
<bfr>: numeric parameter.
z
0: When the entered value of the
<mode>
parameter is
1
or
2
, the URC buffer
defined by this command is cleared.
z
1: When the entered value of the
<mode>
parameter is
1
or
2
, the URC buffer
defined by this command is fully sent to the TE (OK is returned before sending)
and the buffer is cleared.