/// <summary> /// Constructor for the command to send to the robot /// </summary> /// <param name="target">The SCSI target</param> /// <param name="bus">The SCSI bus</param> /// <param name="lun">The SCSI lun</param> /// <param name="cdbLen">The length of the CDB to be sent</param> /// <param name="dataTransferLength">The length to use</param> public ScsiPassThroughDirectWithBuffers(byte target, byte bus, byte lun, byte cdbLen, UInt32 dataTransferLength) { spt = new ScsiPassThroughDirect(target, bus, lun, cdbLen, dataTransferLength); Filler = 0; ucSenseBuf = new byte[32]; }
public void Init(byte command, byte LBA, byte secCount, byte dataInOut) { spt = new ScsiPassThroughDirect(); spt.Init(command, LBA,secCount, dataInOut); Filler = 0; ucSenseBuf = new byte[32]; }