beautypg.com

Hcireadloopbackmode, Hcireadnumberofsupportediac, Hcireadloopbackmode hcireadnumberofsupportediac – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 209

background image

191

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

Trace("LMP subversion is: 0x", result[5], "\n");

}

HCIReadLoopbackMode

HCIReadLoopbackMode()

Return values

Returns a list with two values: status and loopback mode.

Status (element 0) is one of the following:

“Success”

“Failure”

Loopback mode (element 1) is the one-byte loopback mode value. (0=No
loopback mode; 1=Local loopback mode; 2=Remote loopback mode.)

Comments

Reads the loopback mode value. This value determines the path by which
the Host Controller returns information to the Host.

Example

result = HCIReadLoopbackMode();

Trace("HCIReadLoopbackMode returned: ", result[0], "\n");

if (result[0] == "Success")

{

Trace("Loopback mode is: 0x", result[1], "\n");

}

HCIReadNumberOfSupportedIAC

HCIReadNumberOfSupportedIAC()

Return value

Returns a list with two values: status and number of supported IAC.

Status is one of the following:

“Success”

Parameter

Meaning

Default Value

Comments

N/A

Parameter

Meaning

Default Value

Comments

N/A