beautypg.com

Hcireadremoteversioninformation – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 215

background image

197

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

“Failed: Device not found”

“Not connected”

Features (element 1) is the eight-byte bit mask list of Link Manager Proto-
col features.

Comments

Reads the LMP supported features for the specified device. An ACL con-
nection with the device is required.

Example

Device = '010203040506';

result = HCIReadRemoteSupportedFeatures(Device);

Trace("HCIReadRemoteSupportedFeatures returned: ",

result[0], "\n");

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

{

Trace("Remote supported features data is: 0x",

result[1], "\n");

}

HCIReadRemoteVersionInformation

HCIReadRemoteVersionInformation(Address)

Return values

Returns a list with four values: status, LMP version, manufacturer name,
and LMP subversion.

Status (element 0) is one of the following:

“Success”

“Failure”

“Failed: Device not found”

“Not connected”

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

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

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device to con-

nect with.