Erinjsetscsicommandcheckconditionerrorattribute, Erinjsetscsicommandcheckconditionerroratt, Ribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 788: Erinjgetscsicommandcheckconditionerroratt

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 788
ErInjSetSCSICommandCheckConditionErrorAttribute
Void ErInjSetSCSICommandCheckConditionErrorAttribute (
int nCommand,
BOOL bEnable,
BYTE ySenseData,
BYTE yASC,
BYTE yASCQ);
Inputs
int nCommand
SCSI command type. (see
BOOL bEnable
Specifies whether to enable error generation on a SCSI command.
BYTE ySenseData
Sense Data of a SCSI command. (see
BYTE yASC
ASC of Specific SCSI command.
BYTE yASCQ
ASCQ of Specific SCSI command.
Int* pnErrorCode
Error code. If the function call was corrected, the error code is zero.
Return Value
None.
Remark
In error injection command section, sets enability of fail command with check condition for a
SCSI in a SAS device.
See Also
ErInjGetSCSICommandCheckConditionErrorAttribute