beautypg.com

Gprs event reporting +cgerep – Multi-Tech Systems MMCModem GPRS (MTMMC-G) User Manual

Page 160

background image

Chapter 15 – GPRS Commands

Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)

160

GPRS Event Reporting +CGEREP

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.

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: :

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.

0

Modem buffer of unsolicited result codes defined within this command is cleared when
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 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=[] OK

ERROR

AT+CGEREP? +CGEREP:

,

OK

AT+CGEREP=?

+CGEREP: (list of supported s), (list of
supported s)
OK

Unsolicited Result Codes and Corresponding Events:

The following unsolicited result codes and the corresponding events are defined:
+CGEV: REJECT ,

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 , , []

The network has requested a context reactivation. The that was used to reactivate the
context is provided if known to the modem.

+CGEV: NW DEACT , , []

The network has forced a context deactivation. The that was used to activate the context is
provided if known to the modem.

+CGEV: ME DEACT , , []

The mobile equipment has forced a context deactivation. The 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

The network has forced a change of MS class. The highest available class is reported.

+CGEV: ME CLASS

The mobile equipment has forced a change of MS class. The highest available class is reported.

This manual is related to the following products: