Erinjgetscsicommandcheckconditionerrorattribute, Erinjsetscsicommandframeoutgoingerroratt, Ribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 789

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