beautypg.com

Getclosedonetype, Getclosesequensetype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 578

background image


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

IExerciserEngine 578

GetCloseDoneType

int GetCloseDoneType (

short iLayerID,

int nPacketIndexInLayer,

PrimitivesEnum* peCloseType,

PrimitivesEnum* peDoneType);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

PrimitivesEnum* peCloseType

Type of close primitive in close connection setting

(see

PrimitivesEnum

).

PrimitivesEnum* peDoneType

Type of done primitive in close connection setting

(see

PrimitivesEnum

).


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

Remark
Returns type of close and done primitive in close connection setting and gets the error code if

an error occurs. It is useful for changing type of close connection in a command.

See Also

SetCloseDoneType