Error injection interface methods – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 670
Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 670
Error Injection Interface Methods
This interface class injects errors for each command or frame.
It could be an Identify frame, OutgoingOpen, IncomingOpenResponse, CloseConnection,
Incoming frame, or Outgoing frame.
NOTE: Be careful about using methods. Some are for Identify frame. Some are for a packet, for
example, only for SCSI packet.
NOTE: To get this interface from ITargetEmulatorEngine interface, you can use the
QueryInterface method in Visual C++ as below:
QueryInterface(__uuidof(ITargetEmulatorErrorInjection),
m_pITargetEmulatorErrorInjection);
Or use this ID: 464C1BB1-9036-4FED-B63D-21694AC5AD9A
Function Name
Function Description
ErInjGetCodeViolationAndDisparityErrorAttribut
Returns offset and number
for code violation and
disparity error for an
outgoing frame of a
command.
Returns code violation
error for an outgoing frame
of a command.
ErInjGetCodeViolationOnSATAPrimitive
Returns code violation on
SATA primitive error for an
outgoing frame of a
command.
Returns CRC error for an
outgoing frame of a
command.
Returns whether delay in
sending HOLD primitive is
selected or not for an
outgoing frame of a
command.
Returns disparity error for
an outgoing frame of a
command.