beautypg.com

Erinjsetscsicommandframeoutgoingerrorattribute, Erinjgetscsicommandframeoutgoingerroratt, Ribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 790

background image


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

ITargetEmulEngine 790

ErInjSetSCSICommandFrameOutGoingErrorAttribute

Void ErInjSetSCSICommandFrameOutGoingErrorAttribute (

int nCommand,

BOOL bEnable,

int nFrameType,

short iFrameNumberInCommad,

int *pnErrorCode);


Inputs
int nCommand

SCSI command type. (see

SCSI command definition

)

BOOL bEnable

Specifies whether to enable error generation on

outgoing frame of a SCSI command.

int nFrameType

Outgoing frame type. (see

SSP frame 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
Returns enability and attribute of error on outgoing frame for a SCSI in a SAS device in error

injection command section.

See Also

ErInjGetSCSICommandFrameOutGoingErrorAttribute