Erinjsetsmpcommandgenerateerror, Erinjgetsmpcommandgenerateerror – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 794

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 794
ErInjSetSMPCommandGenerateError
Void ErInjSetSMPCommandGenerateError (
SMPFrameFunctionsEnum eCommandType,
BOOL bEnable,
BYTE yCommandNumber,
BYTE yCountOfError,
int* pnErrorCode);
Inputs
SMPFrameFunctionsEnum eCommandType SMP command type.
(see
BOOL bEnable
Specifies whether to enable error generation on a
SMP command.
BYTE yCommandNumber
Erroneous command number.
(see
TargetEmulatorSCSICommandErrorTypeDefinition
)
BYTE yCountOfError
Count of error.
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 error on a SMP command in a SAS device.
See Also
ErInjGetSMPCommandGenerateError