beautypg.com

Erinjgetsmpcommandframeoutgoingerrorattribute, Erinjsetsmpcommandframeincomingerroratt, Ribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 799

background image


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

ITargetEmulEngine 799

ErInjGetSMPCommandFrameOutGoingErrorAttribute

Void ErInjGetSMPCommandFrameOutGoingErrorAttribute (

SMPFrameFunctionsEnum eCommandType,

BOOL* pbEnable,

int* pnFrameType,

short* piFrameNumberInCommad,

int *pnErrorCode);


Inputs
SMPFrameFunctionsEnum eCommandType SCSI command type.

(see

SCSI command definition

)

BOOL* pbEnable

Specifies whether to enable error generation on

outgoing frame of a SCSI command.

Int* pnFrameType

Outgoing frame type.

(see

SMP frame type definition

)

Short* piFrameNumberInCommad

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

in error injection command section.

See Also

ErInjSetSMPCommandFrameOutGoingErrorAttribute