beautypg.com

Erinjgetcrcerror, Erinjgetdelayresponsetohold – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 534

background image


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

IExerciserEngine 534

ErInjGetCRCError

ErInjGetCRCError (

short iLayerId,

int nCommand,

CRCErrorTypeEnum* peCRCError,

int* pnRetVal);


Inputs
short iLayerId

Layer ID of a packet (see

SASLayerEnum

)

int nCommand

Index of a packet corresponding to layer ID.

CRCErrorTypeEnum* peCRCError

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
Returns 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

ErInjSetCRCError