Get SEL Entry
更新时间: 2025/06/26
在Gitcode上查看源码43h-获取SEL条目(Get-SEL-Entry)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取SEL条目。
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | Storage 0Ah |
| CMD | 43h |
| 1:2 | Reservation ID, LS Byte first. Only required for partial Get. Use 0000h otherwise.[1] |
| 3:4 | SEL Record ID, LS Byte first. 0000h=GET FIRST ENTRY FFFFh=GET LAST ENTRY |
| 5 | Offset into record |
| 6 | Bytes to read. FFh means read entire record. |
| The reservation ID should be set to 0000h for implementations that don't implement the Reserve SEL command. |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code Return an error completion code if the SEL is empty. 81h=cannot execute command, SEL erase in progress. |
| 2:3 | Next SEL Record ID, LS Byte first (return FFFFh if the record just returned is the last record.) Note: FFFFh is not allowed as the record ID for an actual record. I.e. the Record ID in the Record Data for the last record should not be FFFFh. |
| 4:N | Record Data, 16 bytes for entire record |
命令样例
获取SEL条目
请求:
ipmicmd -k "0f 00 0A 43 00 00 00 00 00 ff" smi 0响应:
0f 0b 00 43 00 02 00 01 00 02 5b 0b ef 61 20 00 04 10 4e 6f
02 ff ff