beautypg.com

Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual

Page 108

background image


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

Using Target/Device Emulator API Functions 108

STDMETHOD

(ErInjIdefSetDisparityError) (

/*[in]*/

BOOL bEnable);

STDMETHOD

(ErInjIdefSetFrameLengthError) (

/*[in]*/

BOOL bEnable,

/*[in]*/

short

iFrameLength);

STDMETHOD

(ErInjIdefSetCRCError) (

/*[in]*/

CRCErrorTypeEnum eCRCError);

STDMETHOD

(ErInjIdefSetEOAFError) (

/*[in]*/

EOFErrorTypeEnum eEOAFError);

STDMETHOD

(ErInjIdefSetSOAFError) (

/*[in]*/

SOFErrorTypeEnum eSOAFError);

Usage

->

();

Return Value None
Description Call the respective functions to set error injection on the Identification Settings

options of a SAS Target Emulator Project.

Error Injection - Connection Management – (SAS Only)

The Error Injection for Connection Management section of a SAS Target Emulator project

includes two subsections:

• Error Injection - Open Connection
• Error Injection - Close Connection

The functions for each subsection and their corresponding options are:

Error Injection –

Connection Management

Function Name

Open Connection
Incoming Open Frame

Number


ErInjConMgnSetIncomingOpenFrameErrorAttr

ibute ()