beautypg.com

Getcapturepatterncommandspectype, Getcapturepatterndataoffset – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 218

background image


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

ISerialSCSICaptureProject 218

GetCapturePatternCommandSpecType

SCSISpecEnum GetCapturePatternCommandSpecType (

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 spec type of SCSI Command (see

SCSISpecEnum

)


Remark
Returns the spec type of SCSI Command pattern added in capture items, for example, MMC,

SSC, and SPC

NOTE: Call this method only for SCSI Command capture patterns.