Partial Add SDR 命令详情
更新时间:2025/06/26
在Gitcode上查看源码修订记录
| openUBMC版本号 | 修订日期 | 修订人 | 修订内容 |
|---|---|---|---|
| 25.06 | 2025/06/26 | pengqiang-gs | 初稿,新增命令详情 |
基本信息
功能说明
标准命令,局部性添加指定的 SDR 的传感器信息,通过偏移进行控制。 This command is a version of the Add SDR command that allows the record to be incrementally added to the repository. This command must be preceded by a ‘Reserve SDR Repository’ command. The first partial add must be to offset 0000h, and partial adds must be done sequentially, with no gaps or overlap between the adds.
权限
BasicSetting
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1:2 | Reservation ID, LS Byte first |
| 3:4 | Record ID, LS Byte first for continuing partial add. Use 0000h for Record ID otherwise. |
| 5 | Offset into record. |
| 6 | In progress. [7:4] - reserved [3:0] - in progress 0h = partial add in progress. 1h = last record data being transferred with this request |
| 7:6+N | SDR Record Data |
响应信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Completion Code. Generic, plus following command-specific: 80h = Record rejected due to mismatch between record length in header data and number of bytes written. (Verifying the length is an optional operation for the management controller) |
| 2:3 | Record ID for next record, LS Byte first |
命令样例
样例1:
- 请求:
- 响应: