Get SDR
更新时间: 2026/08/06
在Gitcode上查看源码Get SDR
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Obtain SDRs.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| 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. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2 | Record ID for next record, LS Byte |
| 3 | Record ID for next record, MS Byte |
| 4 | Record Data |
Command Example
Obtain the SDR.
Request:
bash
ipmicmd -k "0f 00 0a 23 00 00 00 00 00 ff" smi 0Response:
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