Hcireadlocalsupportedfeatures – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 207

Advertising
background image

189

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

Status (element 0) is one of the following:

“Success”

“Failure”

Name (element 1) is a string representing the device name.

Comments

Reads the “user-friendly” name of the local Bluetooth device.

Example

result = HCIReadLocalName();

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

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

{

Trace("Local device name is: ", result[1], "\n");

}

HCIReadLocalSupportedFeatures

HCIReadLocalSupportedFeatures()

Return values

Returns a list with two values: status and features.

Status (element 0) is one of the following:

“Success”

“Failure”

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

Comments

Reads the LMP supported features for the local device.

Example

result = HCIReadLocalSupportedFeatures();

Trace("HCIReadLocalSupportedFeatures returned: ",

result[0], "\n");

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

{

Parameter

Meaning

Default Value

Comments

N/A

Advertising