Alert Standard Format (ASF) Specification

Alert Standard Format (ASF) Specification v2.0 DMTF Document DSP0136
DSP0136 23 April 2003 Page 66 of 94
8 1 8 1 8 1 8 1
Wr Data 1 A Wr Data 2 A Wr Data 3 A Wr Data 4 A
Sub Command
Get Event Data
0001 0001
0 Version Number
0001 0000
0 Event Status Index
00bb bbbb
11
0 Reserved
0000 0000
0
1 7 1 1 8 1
Sr Slave Address Rd A Rd Byte Count A
ASF-sensor
Address
1 0 0000 0001 0
1 8 1 8 1 1
A Rd Data1 A PEC ~A P
0 Status
0 [data dependent] 1
5.1.1.2 Get Event Status
This message returns the present event status for all events monitored by an ASF-sensor (a
maximum of 56 events
8
). An alert-sending device can quickly determine event status changes by
comparing the returned Status values with the values from a previously issued Get Event Status
message.
The Event Status Count field identifies the zero-based number of events that the ASF-sensor
monitors, and the number of Status values it returns on this message. If the ASF-sensor includes
5 events, for example, it returns an Event Status Count field value of 04h.
Note: The value the ASF-sensor returns in the Rd Byte Count field is at least to 1 +
roundup(Event Status Count / 2). The Rd Byte Count value can range from 2 (one monitored
event) to 29 (56 monitored events).
An ASF-sensor’s response to this message returns the Status Value (see 5.1.1) for each event
the sensor monitors. The 4-bit Status Value fields are packed two-to-a-byte in the response
return value; the following table illustrates the values returned by an ASF sensor that monitors
five (5) events.
Rd Data Byte Bit Position
7 6 5 4 3 2 1 0
Rd Data
Byte
Number
Event Status Count (0000 0100b) 1
Event Status Index 1 (bbbb) Event Status Index 0 (bbbb) 2
Event Status Index 3 (bbbb) Event Status Index 2 (bbbb) 3
Unused (0111b) Event Status Index 4 (bbbb) 4
The Get Event Status message format is:
1 7 1 1 8 1 8 1
S Slave Address Wr A Command A Wr Byte Count A
ASF-sensor
Address
0 0 Sensor Device
0000 0001
0 0000 0011 0
8 1 8 1 8
1
Wr Data 1 A Wr Data 2 A Wr Data 3 A
Sub Command
Get Event Status
0001 0010
0 Version Number
0001 0000
0 Reserved
0000 0000
0
1 7 1 1 8 1
Sr Slave Address Rd A Rd Byte Count A
ASF-sensor Address 1 0 0000 0010 to 0000 1101
14
0
14
Rd Byte Count ranges from 2 to 29, depending on the number of devices monitored by the
ASF-sensor.