Get SDR
更新时间: 2026/10/26
在AtomGit上查看源码23h-获取SDR(Get-SDR)
修订记录
| openUBMC版本号 | 修订日期 | 修订内容 |
|---|---|---|
| 25.06 | 2025/06/26 | 初稿,新增命令详情 |
基本信息
功能说明
获取SDR。
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| NetFn | Storage 0Ah |
| CMD | 23h |
| 1 | Reservation ID. LS Byte. Only required for partial reads with a nonzero 'Offset into record' field. Use 0000h for reservation ID otherwise. |
| 2 | Reservation ID. MS Byte. |
| 3 | Record ID of record to Get, LS Byte |
| 4 | Record ID of record to Get, MS Byte |
| 5 | Offset into record |
| 6 | Bytes to read. FFh means read entire record. |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code |
| 2 | Record ID for next record, LS Byte |
| 3 | Record ID for next record, MS Byte |
| 4 | Record Data |
命令样例
获取SDR
请求:
text
ipmicmd -k "0f 00 0a 23 00 00 00 00 00 ff" smi 0响应:
text
0f 02 00 01 00 51 01 37 20 00 01 07 90 7f 68 01 01 84 72 84 72 1a 1a 80 01 00 00 64 00 00 00 00 e0 01 19 00 00 7f 80 00 28 25 00 02 00 02 02 00 00 00 cc 43 68 61 73 73 69 73 20 54 65 6d 70