beautypg.com

Setincomingopenresponse, Setoutgoingerrorattribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 616

background image


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

IExerciserEngine 616

SetIncomingOpenResponse

int SetIncomingOpenResponse (

short iLayerID,

int nPacketIndexInLayer,

BOOL IsDefineIncomingOpenResponse,

PrimitivesEnum eRxOpenResponse,

short iDelayRespondOpen);


Inputs
short iLayerID

Layer ID of a packet (see

SASLayerEnum

)

int nPacketIndexInLayer

Index of a packet corresponding to layer ID.


BOOL IsDefineIncomingOpenResponse

Specifies whether incoming open response error is

set or not for a command.

PrimitivesEnum eRxOpenResponse

Open response primitive for a command

(see

PrimitivesEnum

).

short iDelayRespondOpen

Delay time to responding to open for a command.


Return Value
int nErrorCode

Result of method, whether called by valid index and layer ID or not.


Remark
Sets incoming open response error for a command packet, such as set/reset incoming open

response error, open primitive type, delay to responding to open, for a command.
NOTE: Call this method only for the SCSI, Task, or ATA command packet.

See Also

GetIncomingOpenResponse