代码仓
中
Get SDR
更新时间: 2026/10/26
在AtomGit上查看源码

23h-获取SDR(Get-SDR) ​

修订记录 ​

openUBMC版本号修订日期修订内容
25.062025/06/26初稿,新增命令详情

基本信息 ​

功能说明 ​

获取SDR。

权限 ​

ReadOnly

命令信息 ​

请求信息 ​

字节顺序域取值说明
NetFnStorage 0Ah
CMD23h
1Reservation ID. LS Byte. Only required for partial reads with a nonzero 'Offset into record' field. Use 0000h for reservation ID otherwise.
2Reservation ID. MS Byte.
3Record ID of record to Get, LS Byte
4Record ID of record to Get, MS Byte
5Offset into record
6Bytes to read. FFh means read entire record.

响应信息 ​

字节顺序域取值说明
1Completion Code
2Record ID for next record, LS Byte
3Record ID for next record, MS Byte
4Record 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

返回到索引 ​