beautypg.com

Getprotocolerrorofpacket, Getsatapowmnginstructiontype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 446

background image


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

IExerciserEngine 446

GetProtocolErrorOfPacket

BOOL GetProtocolErrorOfPacket (

short iLayerID,

int nPacketIndexInLayer,

int nProtocolErrorIndex,

short* piProtocolError);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

int nProtocolErrorIndex

Index of protocol error assigned to a packet.

short* piProtocolError

Unique protocol error ID assigned to a packet.


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

Remark
Gets a protocol error corresponding to protocol error index.

GetSATAPowMngInstructionType

BOOL GetSATAPowMngInstructionType (

int nInstructionIndex,

BYTE* pyPowerMngType);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

BYTE* pyPowerMngType

Power management type


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

Remark
Gets a protocol error corresponding to protocol error index.
See Also

SetSATAPowMngInstructionType