Publication No. 500-657055-000 Rev. G
IPMI Firmware and OEM Extensions 63
B.1.18 Get SDR Command
This command returns the sensor record specified by ‘Record ID’. The command also accepts a ‘byte
range’ specification that allows just a selected portion of the record to be retrieved. The Requester must
first reserve the SDR Repository using the ‘Reserver SDR Repository’ command in order for an
incremental read to an offset other than 0000h to be accepted.
If ‘Record ID’ is specified as 0000h, this command returns the Record Header for the ‘first’ SDR in the
repository. FFFFh specifies that the ‘last’ SDR in the repository should be listed. If ‘Record ID’ is non-
zero, the command returns the information from the matching record, and the Record ID for the
next
SDR in the repository.
Table B-17 NetFn 0x0A, Cmd 0x23
Byte
Value
Data Field
Comments
Request-
data
1
XXh
Reservation ID, LS Byte.
Only required for
partial reads with a
non-zero ‘Offset into
record’ field. Use
0000h otherwise.
2
XXh
Reservation ID, MS Byte.
3
XXh
Record ID of record to
Get, LS Byte.
4
XXh
Record ID of record to
Get, MS Byte.
5
XXh
Offset into record.
6
XXh
Bytes to read, FFh means
read entire record.
Response-
data
1
XXh
Completion Code
2
XXh
Record ID for next record,
LS Byte.
3
XXh
Record ID for next record,
MS Byte.
4:3+N XXh
Record Data