Getpacketdata, Getpacketindex – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 439

Advertising
background image


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

IExerciserEngine 439

GetPacketData

BOOL GetPacketData (

short iLayerID,

int nPacketIndexInLayer,

int* plLength,

VARIANT* pPacketData,

BOOL* pRetVal);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

int* plLength

Length of returned data in bit format.

VARIANT* pPacketData

Data of a packet in byte array format.

LSB byte of data puts in first cell of byte array.


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

Remark
Gets data of a packet object corresponding to PacketIndexInLayer and LayerID. Packet Data

returned is a variant parameter in byte array format.

See Also

GetPacketProperties


Advertising