Intel MD566X manual Event Reporting and Masking, Example 1. Viewing Supported Events

Models: MD566X

1 130
Download 130 pages 46.7 Kb
Page 86
Image 86

56K V.92 Data, Fax, and Voice Chipset

Table 6-1. Voice Mode Command Descriptions (Continued)

 

 

Event Reporting and Masking: (cont.)

 

 

Example 1. Viewing Supported Events:

 

 

To determine what events are supported by the modem, send ‘AT+VEM=?’.

 

 

AT+VEM=?

 

 

‘C’ Feature Class

 

 

DB860980 Playback mode events

 

 

OFEE0883 Record mode events

 

 

BB863EE0 Command mode events

 

 

OK

 

 

Example 2. Setting the Event Mask:

 

 

To set the event mask, issue AT+VEM=m, where ‘m’ is eight hex digits. This com-

 

 

mand is issued only in command mode and is followed when changing between

+VEM=m

see “m”

voice modes. That is, the modem uses the event mask previously set by the

+VEM=m command when entering playback or record mode. The modem ig-

(cont.)

 

nores any event bit set when that feature is not supported in that voice mode.

 

 

 

 

AT+VEM=BB863EE0

 

 

Example 3. Reading the Event Mask Settings:

 

 

To read the settings for each event, type:

 

 

AT+VEM?

 

 

BB863EE0

 

 

OK

 

 

Example 4. Understanding the +VEM Hexadecimal Code:

 

 

The following illustration shows how the hexadecimal eight-digit code

 

 

(BB863EE0) is derived from the bit setting for each event:

 

 

HEX DIGIT LOCATION:1 2 3 4 5 6 7 8

 

 

EIGHT-DIGIT HEX CODE: B B 8 6 3 E E 0

86

Intel Confidential

Programmer’s Guide

Page 86
Image 86
Intel MD566X manual Event Reporting and Masking, Example 1. Viewing Supported Events, Example 2. Setting the Event Mask