Erinjsetframelengtherror, Erinjsethandshakeerror – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 567
![background image](/manuals/353624/567/background.png)
Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
IExerciserEngine 567
ErInjSetFrameLengthError
ErInjSetFrameLengthError (
short iLayerId,
int nCommand,
BOOL bEnable,
FrameLengthErrorTypeEnum eFrameLengthError,
int nFrameLength,
int* pnRetVal);
Inputs
short iLayerId
Layer ID of a packet (see
int nCommand
Index of a packet corresponding to layer ID.
BOOL bEnable
Speifies whether frame length error
is selected or not.
FrameLengthErrorTypeEnum eFrameLengthError Type of frame length error that is over or
under or exact length of a frame
(see
int nFrameLength
Frame length for generating frame length
error.
int* pnRetVal
Result of method, whether called by valid
index and layer ID or not or other errors.
Return Value
None.
Remark
Sets frame length error, type of frame length error, and length (to generate frame length error)
for an outgoing frame of a command.
NOTE: Call this method only for the SCSI, SMP, Task, or ATA command packet and transport
packet.
See Also