beautypg.com

Hcireadscanenable – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 216

background image

198

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

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

Comments

Reads the version information for the specified device. An ACL connection
with the device is required.

Example

Address = '010203040506';

result = HCIReadRemoteVersionInformation(Address);

Trace("HCIReadRemoteVersionInformation returned: ",

result[0], "\n");

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

{

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

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

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

}

HCIReadScanEnable

HCIReadScanEnable()

Return value

“GENERAL_ACCESSIBLE”

“LIMITED_ACCESSIBLE”

“NOT_ACCESSIBLE”

“CONNECTABLE_ONLY”

“Failure”

Comments

Retrieves the current accessible mode of BTTrainer.

Example

Trace("Merlin's Wand accessible mode: ",

HCIReadScanEnable());

Parameter

Meaning

Default Value

Comments

N/A