Inquiry_Base.this

Inquiry_Base constructor will initialize the CDB, then execute the Inquiry on the device. Child classes override unmarshall() to extract information from the datain buffer.

class Inquiry_Base
this
(,
ubyte pagecode = 0
,
bool evpd = true
,
int datain_len = 96
)

Parameters

dev SCSIDevice

The device to send the SCSI command.

pagecode ubyte

Pagecode of the SCSI Inquiry (defaults to 0, a std inquiry).

evpd bool

Enable Vital Product Data is used to send SCSI VPD inquries (defaults to true).

datain_len int

Byte length to allocate for the datain buffer.

Throws

SCSIException if eVPD is enabled and datain[1] (from scsi response) does not match the pagecode

Meta