beautypg.com

Setclosedonetype, Setclosesequensetype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 604

background image


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

IExerciserEngine 604

SetCloseDoneType

int SetCloseDoneType (

short iLayerID,

int nPacketIndexInLayer,

PrimitivesEnum eCloseType,

PrimitivesEnum eDoneType);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

PrimitivesEnum eCloseType Type of close primitive in close connection setting

(see

PrimitivesEnum

).

PrimitivesEnum eDoneType 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
Sets 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

GetCloseDoneType