beautypg.com

Setoutgoingerrorattribute, Setoutgoingerrorsmpfunction – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 617

background image


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

IExerciserEngine 617

SetOutGoingErrorAttribute

int SetOutGoingErrorAttribute (

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 outgoing frame error is set or not for a

command.

int nFrameType

Frame type for generating defined outgoing error from a

command.

short iFrameNumberInCommad

Frame number

(based on frame type, it mean 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 outgoing frame error for a command packet, such as set/reset outgoing error, frame type,

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

See Also

GetIncomingErrorAttribute