Getoutgoingerrorattribute, Getoutgoingerrorsmpfunction – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 589

Advertising
background image


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

IExerciserEngine 589

GetOutGoingErrorAttribute

int GetOutGoingErrorAttribute (

short iLayerID,

int nPacketIndexInLayer,

BOOL* pbEnable,

int* pnFrameType,

short* piFrameNumberInCommad);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

BOOL* pbEnable

Specifies whether outgoing frame error is set or not for

a command.

int* pnFrameType

Frame type for generating defined outgoing error from

a command.


short* piFrameNumberInCommad

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
Returns 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

SetIncomingErrorAttribute

Advertising