Error injection on outgoing frame – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 87

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
Using Initiator/Host Emulator API Functions 87
Out of all the required fields for an Error Injection Dialog, the three most-required features are
Error Injection on Outgoing Frame, Error Injection on Incoming Frame, and Error Injection on
Outgoing Open Error.
Error Injection on Outgoing Frame
To set Error Injection on an Outgoing frame, first set its corresponding attributes using the
SetOutgoingErrorAttribute () function of the Initiator Error Injection interface.
(Refer to ATAPISample -> ErrorInjectionDlg.cpp -> OnOKErrorInjection
().)
m_pIInitiatorExerciserErrorInjection -> SetOutGoingErrorAttribute
(
iLayerID, nPacketIndexInLayer, m_OutgoingCheck,
m_nOutgoingFrameType,
m_OutgoingFrameNumber);