Class GetDeviceSdr


public class GetDeviceSdr extends GetSdr
Get Device SDR (IPMI 2.0 section 35.3): reads a record of the SDRs a Sensor Device holds itself, for a controller without an SDR Repository. The request and the response are those of GetSdr.
  • Constructor Details

    • GetDeviceSdr

      public GetDeviceSdr(int reservationId, int recordId)
      Creates the command that reads a whole record.
      Parameters:
      reservationId - the reservation ID from ReserveDeviceSdrRepository, only needed for a partial read
      recordId - the ID of the record, 0 for the first one
    • GetDeviceSdr

      public GetDeviceSdr(int reservationId, int recordId, int offset, int bytesToRead)
      Creates the command that reads part of a record.
      Parameters:
      reservationId - the reservation ID from ReserveDeviceSdrRepository
      recordId - the ID of the record, 0 for the first one
      offset - the offset of the first byte to read in the record
      bytesToRead - the number of bytes to read, FFh for the whole record
  • Method Details