beautypg.com

Getpacketretrynumber, Getprimitiveinstructioncount – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 443

background image


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

IExerciserEngine 443

Remark
Gets all properties of a packet object. Some parameters are not used, and are dummy

parameters. Two (pPacketIndexInLayer, pLayerId) parameters are useful for calling all other

functions related to packet or send instruction.

GetPacketRetryNumber

BOOL GetPacketRetryNumber (

short iLayerID,

int nPacketIndexInLayer,

int* pnRetryNumber);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

int* pnRetryNumber

Retry Number of a packet.


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

Remark
Returns Retry Number attribute of a packet.

See Also

SetPacketRetryNumber