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

Page 202

Advertising
background image

186

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

{

Trace("Encryption mode is: 0x", result[1], "\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

Advertising