beautypg.com

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

Page 116

background image


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

Using Target/Device Emulator API Functions 116

Task Commands

STDMETHOD

(ErInjSetTskMgnCommandGenerateError) (

/*[in]*/

SSPTaskManagmentEnum eCommandType,

/*[in]*/

BOOL bEnable,

/*[in]*/

TargetEmulatorTaskManagementErrorTypeEnum eErrorOn,

/*[in]*/

short

iTagOrNumberOfCommand,

/*[in]*/

BYTE yCountOfError,

/*[out]*/

int

* pnErrorCode);

STDMETHOD

(ErInjSetTskMgnCommandRepeatErrorsOnCommandNumber)

(

/*[in]*/

SSPTaskManagmentEnum eCommandType,

/*[in]*/

BOOL bEnable,

/*[in]*/

short

iCountOfRepeatedErrorsCommands,

/*[out]*/

int

* pnErrorCode);

STDMETHOD

(ErInjSetTskMgnCommandErrorResponseType) (

/*[in]*/

SSPTaskManagmentEnum eCommandType,

/*[in]*/

BOOL bEnable,

/*[in]*/

BYTE yResponseType,

/*[out]*/

int

* pnErrorCode);

STDMETHOD

(ErInjSetTskMgnCommandFrameOutGoingErrorAttribute)

(

/*[in]*/

SSPTaskManagmentEnum eCommandType,

/*[in]*/

BOOL bEnable,

/*[in]*/

int

nFrameType,

/*[in]*/

short

iFrameNumberInCommand,

/*[out]*/

int

* pnErrorCode);

STDMETHOD

(ErInjSetTskMgnCommandFrameInComingErrorAttribute)

(

/*[in]*/

SSPTaskManagmentEnum eCommandType,

/*[in]*/

BOOL bEnable,

/*[in]*/

int

nFrameType,

/*[in]*/

short

iFrameNumberInCommand,

/*[out]*/

int

* pnErrorCode);