Get Device SDR 命令详情
更新时间:2025/06/26
在Gitcode上查看源码修订记录
| openUBMC版本号 | 修订日期 | 修订人 | 修订内容 |
|---|---|---|---|
| 25.06 | 2025/06/26 | pengqiang-gs | 初稿,新增命令详情 |
基本信息
功能说明
获取传感器设备的 SDR 信息。 This command returns SDR information for sensors for a Sensor Device (typically implemented in a satellite management controller).
权限
ReadOnly
命令信息
请求信息
| 字节顺序 | 域取值说明 |
|---|---|
| 1 | Reservation ID. LS Byte. Only required for partial reads with a non-zero ‘Offset into record’ field. Use 0000h for reservation ID otherwise. |
| 2 | Reservation ID. MS Byte. |
| 3 | Record ID of record to Get, LS Byte. 0000h returns the first record. |
| 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. 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. |
| 2 | Record ID for next record, LS Byte |
| 3 | Record ID for next record, MS Byte |
| 4:3+N | Requested bytes from record |
命令样例
样例1:
- 请求:
- 响应: