beautypg.com

Erinjsetsmpcommandframeincomingerrorattribute, Erinjgetsmpcommandframeincomingerrorat, Tribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 800

background image


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

ITargetEmulEngine 800

ErInjSetSMPCommandFrameInComingErrorAttribute

Void ErInjSetSMPCommandFrameInComingErrorAttribute (

int nCommand,

BOOL bEnable,

int nFrameType,

short iFrameNumberInCommad,

int *pnErrorCode);


Inputs
SMPFrameFunctionsEnum eCommandType SMP command type.

(see

SMP command definition

)

BOOL bEnable

Specifies whether to enable error generation on

incoming frame of a SMP command.

int nFrameType

Incoming 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
Returns enability and attribute of error on incoming frame for a SMP in a SAS device in error

injection command section.

See Also

ErInjGetSMPCommandFrameInComingErrorAttribute