Setincomingerrorattribute, Setincomingopenresponse – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 615

Advertising
background image


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

IExerciserEngine 615

SetIncomingErrorAttribute

int SetIncomingErrorAttribute (

short iLayerID,

int nPacketIndexInLayer,

BOOL bEnable,

int nFrameType,

short iFrameNumberInCommad);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

BOOL bEnable

Specifies whether incoming frame error is set

or not for a command.

int nFrameType

Frame type for generating defined incoming

error from a command.

short iFrameNumberInCommad

Frame number

(based on frame type, number of that frame

type) of a command.


Return Value
Returns result of method, whether called by valid index and layer ID or not.

Remark
Sets incoming frame error for a command packet, such as set/reset incoming error, frame type,

frame number of a command, to generate defined error.
NOTE: Call this method only for the SCSI, Task, or ATA command packet.

See Also

GetIncomingErrorAttribute

Advertising