beautypg.com

Getincomingerrorattribute, Getincomingopenresponse – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 587

background image


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

IExerciserEngine 587

GetIncomingErrorAttribute

int GetIncomingErrorAttribute (

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

a command.

int* pnFrameType

Frame type for generating defined incoming 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 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

SetIncomingErrorAttribute