Hasspecifiedprotocolerror, Insertinstruction – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 462
Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
IExerciserEngine 462
HasSpecifiedProtocolError
BOOL HasSpecifiedProtocolError (
short iLayerID,
int nPacketIndexInLayer,
short iProtocolError,
BOOL* pbHasThisProtocolError);
Inputs
short iLayerID
Layer ID of a packet (see
int nPacketIndexInLayer
Index of a packet corresponding to layer ID.
short iProtocolError
Protocol error assigned to a packet.
BOOL* pbHasThisProtocolError Specifies whether a protocol error is asigned to a packet or
not.
Return Value
Returns result of method, whether called by valid index or not.
Remark
Returns TRUE if a protocol error is assigned to a packet corresponding to nPacketIndexInLayer
and iLayerID parameters. Otherwise, returns FALSE.
InsertInstruction
InsertInstruction (
int nIndex,
InstructionTypeEnum eInstructionType,
int* pRelVal);
Inputs
int nIndex
Object index (packet and instruction)
InstructionTypeEnum eInstructionType Type of object (see
Return Value
Returns result of method, whether called by valid index or not.
Remark
Adds an instruction in an index with the default value. To insert a packet (or send instruction).
see