beautypg.com

Setiflastframeinstrdevicetype, Setiflastframeinstrframetype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 488

background image


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

IExerciserEngine 488

SetIfLastFrameInstrDeviceType

BOOL SetIfLastFrameInstrDeviceType (

int nInstructionIndex,

DeviceTypesEnum eDeviceType);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

DeviceTypesEnum eDeviceType

Device type for If on last received frame if its protocol type

was identify frame (see

DeviceTypesEnum

)

Return Value
Returns result of method, whether called by valid index and instruction type or not.

Remark
Sets the device type of an identify frame for last received frame.
NOTE: Device type is valid only if, for last received frame, the protocol type is an Identify frame.

See Also

GetIfLastFrameInstrDeviceType

SetIfLastFrameInstrFrameType

BOOL SetIfLastFrameInstrFrameType (

int nInstructionIndex,

BYTE yFrameType);


Inputs
int nInstructionIndex

Index of an object (all instructions, including Send)

BYTE yFrameType

Frame type for If on last received frame based on protocol type.

Return Value
Returns result of method, whether called by valid index and instruction type or not.

Remark
Set frame type for last received frame. This frame type is valid based on protocol type, for

example, Reg H->D for STP or Command for SSP.

See Also

GetIfLastFrameInstrFrameType