beautypg.com

Hcireadlocalversioninformation – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 208

background image

190

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

Trace("Local supported features data is: ", result[1],

"\n");

}

HCIReadLocalVersionInformation

HCIReadLocalVersionInformation()

Return values

Returns a list with six values: status, HCI version, HCI revision, LMP ver-
sion, manufacturer name,
and LMP subversion.

Status (element 0) is one of the following:

“Success”

“Failure”

HCI version (element 1) is the one-byte HCI version value. (0=1.0B,
1=1.1.)

HCI revision (element 2) is the two-byte HCI revision value.

LMP version (element 3) is the one-byte Link Manager Protocol version
value.

Manufacturer name (element 4) is the two-byte manufacturer name of the
Bluetooth hardware.

LMP subversion (element 5) is the two-byte Link Manager Protocol sub-
version value.

Comments

Reads the version information for the local device.

Example

result = HCIReadLocalVersionInformation();

Trace("HCIReadLocalVersionInformation returned: ",

result[0], "\n");

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

{

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

Trace("HCI revision is: 0x", result[2], "\n");

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

Trace("Manufacturer name is: 0x", result[4], "\n");

Parameter

Meaning

Default Value

Comments

N/A