beautypg.com

Erinjgetsoferror, Erinjsetcodeviolationanddisparityerrorattribute – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 711

background image


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

ITargetEmulEngine 711

ErInjGetSOFError

ErInjGetSOFError (

short iLayerId,

int nCommand,

SOFErrorTypeEnum* peSOFError,

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

)

SOFErrorTypeEnum* peSOFError SOF error for an identify packet (see

SOFErrorTypeEnum

).

int* pnRetVal

Result of method, whether called by valid index and

layer ID or not or other errors.


Return Value
None.

Remark
Returns SOF error for an outgoing frame of a command: omit, double, or no error in SOAF.

NOTE: Call this method only for the SCSI, SMP, Task, or ATA command packet and transport

packet.

See Also

ErInjSetSOFError