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

Page 223

Advertising
background image

207

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

“Failure”

“Invalid parameter”

Comments

Controls whether the local device requires encryption to the remote device
at connection setup.

Example

result = HCIWriteEncryptionMode(0);

HCIWriteLinkPolicySettings()

HCIWriteLinkPolicySettings(Address, LinkPolicySettings)

Return value

“Success”

“Failure”

“Failed: Device not found”

“Not connected”

Comments

Writes the value for the Link_Policy_Settings parameter for the device.

Example

Device = '010203040506';

result = HCIWriteLinkPolicySettings(Device, 0xF);

Trace("HCIWriteLinkPolicySettings result is: ", result,

"\n\n");

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device in

question

LinkPolicy

Settings

Range is 0x0000-0x8000.

Advertising