beautypg.com

Erinjsettskmgncommandgenerateerror – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 802

background image


Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual

ITargetEmulEngine 802

ErInjSetTskMgnCommandGenerateError

Void ErInjSetTskMgnCommandGenerateError (

SSPTaskManagmentEnum eCommandType,

BOOL bEnable,

TargetEmulatorTaskManagementErrorTypeEnum eErrorOn,

short iTagOrNumberOfCommand,

BYTE yCountOfError,

int* pnErrorCode);


Inputs
SSPTaskManagmentEnum eCommandType Task command type.

(see

Task command definition

)

BOOL bEnable

Specifies whether to enable error generation on

a Task command.

TargetEmulatorTaskManagementErrorTypeEnum eErrorOn

Erroneous command number.

(see

TargetEmulatorTaskManagementErrorTypeDefin

ition

)

short iTagOrNumberOfCommand

Tag or number of a command depends on error

type.

(see

TargetEmulatorTaskManagementErrorTypeDefin

ition

)

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 Task command in a SAS device.

See Also

ErInjGetTskMgnCommandGenerateError