beautypg.com

Getclosebreakcount, Getclosedonetype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 577

background image


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

IExerciserEngine 577

GetCloseBreakCount

int GetCloseBreakCount (

short iLayerID,

int nPacketIndexInLayer,

BYTE* pyCloseBreakCount);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

BYTE* pyCloseBreakCount

Count of close or break primitive (based on close sequence

type).


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

Remark
Returns count value of close or break primitive (based on close sequence type) in close

connection setting and gets the error code if an error occurs.

See Also

SetCloseBreakCount