Get Device SDR
更新时间: 2025/06/26
在Gitcode上查看源码

21h-获取设备SDR(Get-Device-SDR)

修订记录

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

基本信息

功能说明

获取设备SDR。

权限

ReadOnly

命令信息

请求信息

字节顺序域取值说明
NetFnS/E 04h
CMD21h
1Reservation ID. LS Byte. Only required for partial reads with a non-zero
'Offset into record' field. Use 0000h for reservation ID otherwise.
2Reservation ID. MS Byte.
3Record ID of record to Get, LS Byte. 0000h returns the first record.
4Record ID of record to Get, MS Byte.
5Offset into record
6Bytes to read. FFh means read entire record.

响应信息

字节顺序域取值说明
1Completion Code. Generic, plus following command specific:
80h=record changed. This status is returned if any of the record contents
have been altered since the last time the Requester issued the request
with 00h for the 'Offset into SDR' field.
2Record ID for next record, LS Byte
3Record ID for next record, MS Byte
4:3+NRequested bytes from record

命令样例

获取设备SDR

请求:

ipmicmd -k "0f 00 04 21 00 00 00 00 00 00" smi 0

响应:

0f 02 00

返回到索引