beautypg.com

Getautoupdateproperties – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 402

background image


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

IExerciserEngine 402

GetAutoUpdateProperties

int GetAutoUpdateProperties (

short iLayerID,

int nPacketIndexInLayer,

BOOL* pbIsDefineAutoUpdate,

BYTE* pyIncrementType,

VARIANT* pvtLBAUpperLimit,

VARIANT* pvtLBALowerLimit);


Inputs
short iLayerID

Layer ID of a packet

(see

SASLayerEnum

)


int nPacketIndexInLayer

Index of a packet corresponding to layer ID.


BOOL* pbIsDefineAutoUpdate

Specifies whether auto update feature is defined for a

packet or not.


BYTE* pyIncrementType

Type of auto update feature:

Increment, Decrement, Random LBA


VARIANT* pvtLBAUpperLimit

Upper limit of LBA in random LBA type.


VARIANT* pvtLBALowerLimit

Lower limit of LBA in random LBA type.


Return Value
Returns the Error Code if an error occurs.

Remark
Auto-increment provides a way to change the LBA address of commands after each successful

execution. Returns auto update features: feature defined or not, type of auto update, random

LBA type or not, upper and lower limit LBA values. It returns the Error Code if an error occurs.
NOTE: This function can call Read, Write, and Bi-Directional commands.

See Also

SetAutoUpdateProperties