beautypg.com

Getwaitforhandshake, Getwaitforinstructionlableid – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 460

background image


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

IExerciserEngine 460

GetWaitForHandshake

BOOL GetWaitForHandshake (

short iLayerID,

int nPacketIndexInLayer);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.


Return Value
Specifies wait for handshake for a packet.

Remark
Returns whether wait for handshake is selected for a packet or not.
NOTE: Call this method only for SSP transport packet.
See Also

SetWaitForHandshake

GetWaitForInstructionLableId

BOOL GetWaitForInstructionLableId (

int nInstructionIndex,

short* piLableId);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

short* piLableId

Label ID for wait for instruction.


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

Remark
Returns label ID of a Wait for instruction that must be jumped after receiving a frame.
Call this method only for Wait For instruction.
See Also

SetWaitForInstructionLableId