beautypg.com

Erinjsetsmpcommandframeoutgoingerrorattribute, Erinjgetsmpcommandframeoutgoingerrorat, Tribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 798

background image


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

ITargetEmulEngine 798

ErInjSetSMPCommandFrameOutGoingErrorAttribute

Void ErInjSetSMPCommandFrameOutGoingErrorAttribute (

SMPFrameFunctionsEnum eCommandType,

BOOL bEnable,

int nFrameType,

short iFrameNumberInCommad,

int *pnErrorCode);


Inputs
SMPFrameFunctionsEnum eCommandType 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

SMP 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
Sets enability and attribute of error on outgoing frame for a SMP command in a SAS device in

error Injection command section.

See Also

ErInjGetSMPCommandFrameOutGoingErrorAttribute