beautypg.com

Erinjsetstpcommandframeoutgoingerrorattribute, Erinjgetstpcommandframeoutgoingerroratt, Ribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 814

background image


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

ITargetEmulEngine 814

ErInjSetSTPCommandFrameOutGoingErrorAttribute

Void ErInjSetSTPCommandFrameOutGoingErrorAttribute (

int nCommand,

BOOL bEnable,

int nFrameType,

short iFrameNumberInCommad,

int *pnErrorCode);


Inputs
int nCommand

ATA command type. (see

ATA command type definition

)

BOOL bEnable

Specifies whether to enable error generation on outgoing

frame of an ATA command.

int nFrameType

Outgoing frame type. (see

FIS type definition

)

short iFrameNumberInCommad Number of frame in a command.
Int* pnErrorCode

Error code. If the function call was corrected, the error code

is zero.


Return Value
None.

Remark
Sets enability and attribute of error on outgoing frame for an ATA command in a SATA device in

error Injection command section.

See Also

ErInjGetSTPCommandFrameOutGoingErrorAttribute