beautypg.com

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

Page 605

background image


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

IExerciserEngine 605

SetCloseSequenseType

int SetCloseSequenseType (

short iLayerID,

int nPacketIndexInLayer,

BYTE yCloseSequenseType);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.

BYTE yCloseSequenseType

Type of close sequence in close connection setting

(see

CloseSequenseTypeEnum

).


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

Remark
Sets type of close connection setting in close connection setting for a command:

close normally, without done, or break connection.
It is useful for changing close connection setting for a command.

See Also

GetCloseSequenseType