beautypg.com

Erinjsetcrcerror, Erinjsetdelayresponsetohold – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 558

background image


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

IExerciserEngine 558

ErInjSetCRCError

ErInjSetCRCError (

short iLayerId,

int nCommand,

CRCErrorTypeEnum eCRCError,

int* pnRetVal);


Inputs
short iLayerId

Layer ID of a packet (see

SASLayerEnum

)

int nCommand

Index of a packet corresponding to layer ID.

CRCErrorTypeEnum eCRCError

CRC error for an outgoing frame (see

CRCErrorTypeEnum

).

int* pnRetVal

Result of method, whether called by valid index and layer ID

or not or other errors.


Return Value
None.

Remark
Sets CRC error for an outgoing frame of a command:

do not insert CRC, Invalid CRC, or do not insert CRC error.
NOTE: Call this method only for the SCSI, SMP, Task, or ATA command packet and transport

packet.

See Also

ErInjGetCRCError