beautypg.com

Isreadcommand, Issataselftestdatapayloadfield, Issataselftestinstructionfield – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 465

background image


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

IExerciserEngine 465

IsReadCommand

BOOL IsReadCommand (

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 whether a packet is a read command or not.

Remark
Returns TRUE if a packet corresponding to nPacketIndexInLayer and iLayerID parameters is

Read command. Otherwise, returns FALSE

See Also

GetPacketProperties

IsSATASelfTestDataPayloadField

BOOL IsSATASelfTestDataPayloadField (

int nInstructionIndex,

int nFieldIndex);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

int nFieldIndex

Index of a field of SATA self-test instruction.


Return Value
Specifies whether field is a payload field of SATA self-test instruction or not.

Remark
Returns TRUE if a field in a SATA self-test instruction was a payload field.
Call this method only for SATA self-test instruction.