beautypg.com

Erinjgetatapicommandcheckconditionerrorattribute, Iserialscsiextraction – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 819

background image


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

ITargetEmulEngine 819

ErInjGetATAPICommandCheckConditionErrorAttribute

Void ErInjSetATAPICommandCheckConditionErrorAttribute (

int nCommand,

BOOL* pbEnable,

TargetEmulatorATAPIErrorStatusRegEnum* peResponseType,

BYTE* pySenseData,

BYTE* pyASC,

BYTE* pyASCQ);


Inputs
int nCommand

ATAPI command type.

(see

SCSI command definition

)

BOOL* pbEnable

Specifies whether to enable error generation on

an ATAPI command.

TargetEmulatorATAPIErrorStatusRegEnum* peResponseType

Sense Data of a TAPE command.

(see

TargetEmulatorATAPIErrorStatusRegEnum

)

BYTE* pySenseData

Sense Data of an ATAPI command.

(see

SenseDataEnum

)

BYTE* pyASC

ASC of Specific ATAPI command.

BYTE* pyASCQ

ASCQ of Specific ATAPI command.

Int* pnErrorCode

Error code. If the function call was corrected, the

error code is zero.


Return Value
None.

Remark
In error injection command section, gets enability of fail command with check condition for an

ATAPI in a SATA device.

See Also

ErInjSetATAPICommandCheckConditionErrorAttribute