Hcireadlocalversioninformation() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 205

Advertising
background image

189

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

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

Advertising