beautypg.com

Setassociatelayers, Expandallpackets – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 823

background image


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

ISerialSCSIExtraction 823

SetAssociateLayers

Void SetAssociateLayers (

short iAssociateLayers);


Inputs
short iAssociateLayers

Is a mask and specifies the layers to show in the sample.

(see

SAS Layer definition

)

Bit 0: Link Layer

Bit 1: Idle Layer

Bit 2: Transport Layer

Bit 3: ATA Command Layer

Bit 4: SCSI Command Layer

Bit 5: SMP Command Layer

Bit 6: Task Management Command Layer

Bit 7: Data Report Layer

Bit 6: Queue Command Layer


Return Value
None.

Remark
Makes layers visible in the sample. Layers are specified by iAssociateLayers.
For example, to show link and Transport layers in viewer, the sample must associate to with

“LINK_LAYER or TRANPORT_LAYER”

ExpandAllPackets

Void ExpandAllPackets (

short iLayerID,

BOOL bExpand);


Inputs
short iLayerID

Layer ID.

(see

SAS Layer Definition

)

BOOL bExpand

Specifies Expand or Collapse state of all packets in a layer.


Return Value
None.
Remark
Expands or collapses all packets in a layer.