beautypg.com

Hcireadlinkpolicysettings – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 205

background image

187

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

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

{

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

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

}

HCIReadLinkPolicySettings

HCIReadLinkPolicySettings(Address)

Return value

Returns the following list of values: status and link policy settings.

Status (element 0) is one of the following:

“Success”

“Failure”

“Failed: Device not found”

“Not connected”

Link policy settings (element 1) is the two-byte value of the link policy set-
tings.

Comments

Reads the value of the Link_Policy_Settings parameter for the device.

Example

Device = '010203040506';

result = HCIReadLinkPolicySettings(Device);

Trace("HCIReadLinkPolicySettings returned: ", result[0],

"\n");

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

{

Trace("Link Policy Settings : ", result[1] ,"\n");

}

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device in

question