beautypg.com

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

Page 690

background image


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

ITargetEmulEngine 690

ErInjGetCRCError

ErInjGetCRCError (

short iLayerId,

int nCommand,

CRCErrorTypeEnum* peCRCError,

int* pnRetVal);


Inputs
short iLayerId

Layer ID of a packet (see

SASLayerEnum

)

int nCommand

Command type corresponding to layer ID.

(see

SCSICommandsEnum

,

SMPFrameFunctionsEnum

,

CommandTypeEnum

,

SSPTaskManagmentEnum

)

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, ATA command.

See Also

ErInjSetCRCError