beautypg.com

Getcapturepatternprotocoltypeprotocoltype, Getcapturepatternscsicommandtype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 230

background image


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

ISerialSCSICaptureProject 230

GetCapturePatternProtocolTypeProtocolType

ProtocolTypeEnum GetCapturePatternProtocolTypeProtocolType (
int nStateId,
long lPatternIndex);

Inputs
int nStateId

ID for a state in advanced mode and

Capture ID (see

Capture ID definition

) in easy mode.


long lPatternIndex

Target capture pattern index.


Return Value
Specifies protocol type of Protocol Error pattern (see

ProtocolTypeEnum

)


Remark
Returns protocol type of a protocol error pattern added in capture patterns.
This function can capture all protocol errors or protocol (SSP, SMP, STP) packets.

NOTE: Call this method only for Protocol Error capture patterns.

See Also

GetConditionExprPatternProtocolTypeProtocolType