Get event descripion
更新时间: 2026/08/06
在Gitcode上查看源码Get event descripion
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtains the event description.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 94h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, sub command=3Dh |
| 5:6 | recordID, LSB first The value of recordID starts from 0. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 5:6 | next recordID, LSB first, (return FFFFh if the record just returned is the last record.) |
| 7 | event count: number of events sent this time. The following is the event content. |
| 8 | Indicates the sensor type of the first event. |
| 9 | event reading type |
| 10 | event data0 |
| 11 | event data1 |
| 12 | event data2 |
| 13 | alarm level |
| 14 | Event data0 flag. The default value is 0. |
| 15 | event data1 flag. The default value is 0. 1 indicates that event_data1 stores the sensor number. |
| 16 | event data2 flag. The default value is 0. |
| 17 | event desc length(N) |
| 18:N | event desc data |
| (18+N):1 | Indicates the sensor type of the second event. |
| ... | ... |
Command Example
Obtain the event description.
Request:
bash
ipmicmd -k "0f 00 30 94 db 07 00 3d 00 00" smi 0Response:
text
0f db 07 00 03 00 03 07 03 01 ff ff 02 00 00 00 0e 53 74 61 74 65 20 41 73 73 65 72 74 65 64 07 09 01 ff ff 01 00 00 00 0e 44 65 76 69 63 65 20 65 6e 61 62 6c 65 64 07 6f 0c ff ff 01 00 00 00 3a 43 6f 72 72 65 63 74 61 62 6c 65 20 6d 61 63 68 69 6e 65 20 63 68 65 63 6b 20 65 78 63 65 70 74 69 6f 6e 20 64 65 74 65 63 74 65 64 20 69 6e 20 74 68 65 20 78 38 36 20 4f 53