beautypg.com

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

Page 838

background image


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

ISerialSCSIExtraction 838

GetPacketData

Void GetPacketData (

short iLayerID,

int nPacketIndexInLayer,

int* plLength,

VARIANT* pPacketData,

BOOL* pRetVal);


Inputs
short iLayerID

Layer ID. (see

SAS Layer Definition

)

int nPacketIndexInLayer Packet index in a layer.
int* plLength

Length of packet data.

VARIANT* pPacketData

Packet data.


Return Value
If the function call is correct, the return value is True.

Remark
Gets packet data.

AddAssignedElement

Void AddAssignedElement (

int nDestinationAddress,

SCSISpecEnum eSpec);


Inputs
int nDestinationAddress

Destination Address.

SCSISpecEnum eSpec

Specifies that the sample is interpreted. (see

SCSI Spec definition

)


Return Value
None.
Remark
Interprets commands with destination addresses corresponding to a spec.
See Also

RemoveAllAssigendElements