Chapter 15 – GPRS Commands
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 160
Description: Set command enables or disables sending of unsolicited result codes, +CGEV: XXX from modem to
DTE in the case of certain events occurring in the GPRS modem or the network.
<mode> controls the processing of unsolicited result codes specified within this command.
Read command returns the current mode and buffer settings.
Test command returns the modes and buffer settings supported by the modem as compound values.
Values: <mode>:
0 Buffer unsolicited result codes in the modem; if modem result code buffer is full, the oldest
ones can be discarded. No codes are forwarded to the DTE.
2 Buffer unsolicited result codes in the modem when modem-DTE link is reserved (e.g. in on-line
data mode) and flush them to the DTE when modem-DTE link becomes available; otherwise
forward them directly to the DTE.
<bfr>
0 Modem buffer of unsolicited result codes defined within this command is cleared when
<mode> 1 or 2 is entered. This is the only case supported.
1 Modem buffer of unsolicited result codes defined within this command is flushed to the DTE
when <mode> 2 is entered. This case is not supported.
The software provides a combination of all modes. When a serial link is available, indications are
forwarded directly to the DTE. If a serial link is reserved (e.g., in on-line data mode) or the modem
result code buffer is full, the oldest ones can be discarded.
Syntax: Command Syntax: AT+CGEREP
Command Possible Responses
AT+CGEREP=[<mode>] OK
ERROR
AT+CGEREP? +CGEREP: <mode>,<bfr>
OK
AT+CGEREP=? +CGEREP: (list of supported <mode>s), (list of
supported <bfr>s)
OK
Unsolicited Result Codes and Corresponding Events:
The following unsolicited result codes and the corresponding events are defined:
+CGEV: REJECT <PDP_type>, <PDP_addr>
A network request for PDP context activation occurred when the modem was unable to report it to
the DTE with a +CRING unsolicited result code and was automatically rejected.
+CGEV: NW REACT <PDP_type>, <PDP_addr>, [<cid>]
The network has requested a context reactivation. The <cid> that was used to reactivate the
context is provided if known to the modem.
+CGEV: NW DEACT <PDP_type>, <PDP_addr>, [<cid>]
The network has forced a context deactivation. The <cid> that was used to activate the context is
provided if known to the modem.
+CGEV: ME DEACT <PDP_type>, <PDP_addr>, [<cid>]
The mobile equipment has forced a context deactivation. The <cid> that was used to activate the
context is provided if known to the modem.
+CGEV: NW DETACH
The network has forced a GPRS detach. This implies that all active contexts have been
deactivated. These are not reported separately.
+CGEV: ME DETACH
The mobile equipment has forced a GPRS detach. This implies that all active contexts have been
deactivated. These are not reported separately.
+CGEV: NW CLASS <class>
The network has forced a change of MS class. The highest available class is reported.
+CGEV: ME CLASS <class>
The mobile equipment has forced a change of MS class. The highest available class is reported.