beautypg.com

Hciwritelinksupervisiontimeout – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual

Page 230

background image

212

CATC BTT

RAINER

2.11

C

HAPTER

User’s Manual

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");

HCIWriteLinkSupervisionTimeout

HCIWriteLinkSupervisionTimeout(Address, Timeout)

Return value

“Success”

“Failure”

“Failed: Device not found”

“Not connected”

Comments

Writes the value for the Link_Supervision_Timeout parameter for the
device.

Example

Device = '010203040506';

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device in

question

Timeout

Number of

0.625-msec

intervals

before con-

nection

request times

out.

Range is 0x0001 to 0xFFFF (0.625 msec to 40.9
sec).