beautypg.com

Getconditionexprpatternprotocoltypeprotocoltype, Getconditionexprpatternscsicommandtype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 253

background image


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

ISerialSCSICaptureProject 253

GetConditionExprPatternProtocolTypeProtocolType

ProtocolTypeEnum GetConditionExprPatternProtocolTypeProtocolType
(

int nStateId,

int nConditionIndex,

int nExprTokenIndex);


Inputs
int nStateId

ID for a state in advanced mode (it is "don’t care" in easy mode).


int nConditionIndex

Index for a condition in advanced mode

(it is "don’t care" in easy mode).


int nExprTokenIndex Triggering pattern index in easy mode or index for a token

added for this condition in advanced mode.


Return Value
Type of Protocol Error pattern (see

ProtocolTypeEnum

)


Remark
Returns the type of protocol error pattern added in trigger patterns in easy mode or pattern of

a condition in advanced mode.
This function can capture all protocol errors or protocol (SSP, SMP, STP) packets.

NOTE: Call this method only for a Protocol Error trigger pattern.

See Also

GetCapturePatternProtocolTypeProtocolType