Class ScsiInquiryResponse


  • public class ScsiInquiryResponse
    extends java.lang.Object
    This class represents the response of a SCSI Inquiry. It holds various information about the mass storage device.

    This response is received in the data phase.

    See Also:
    ScsiInquiry
    • Method Detail

      • getPeripheralQualifier

        public byte getPeripheralQualifier()
        Returns:
        Zero if a device is connected to the unit.
      • getPeripheralDeviceType

        public byte getPeripheralDeviceType()
        The type of the mass storage device.
        Returns:
        Zero for a direct access block device.
      • isRemovableMedia

        public boolean isRemovableMedia()
        Returns:
        True if the media can be removed (eg. card reader).
      • getSpcVersion

        public byte getSpcVersion()
        This method returns the version of the SCSI Primary Commands (SPC) standard the device supports.
        Returns:
        Version of the SPC standard
      • getResponseDataFormat

        public byte getResponseDataFormat()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object