Hcireadlinksupervisiontimeout(), Hcireadlocalname(), Hcireadlinksupervisiontimeout() hcireadlocalname() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 203

Advertising
background image

187

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

HCIReadLinkSupervisionTimeout()

HCIReadLinkSupervisionTimeout(Address)

Return value

Returns the following list of values: status and link supervision timeout.

Status (element 0) is one of the following:

“Success”

“Failure”

“Failed: Device not found”

“Not connected”

Link supervision timeout (element 1) is the timeout, interpreted as multi-
ples of 0.625-msec intervals.

Comments

Reads the value for the Link_Supervision_Timeout parameter for the
device.

Example

Device = '010203040506';

result = HCIReadLinkSupervisionTimeout(Device);

Trace("HCIReadLinkSupervisionTimeout returned: ",

result[0], "\n");

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

{

Trace("Link Supervision Timeout is: ", result[1] ,"\n");

}

HCIReadLocalName()

HCIReadLocalName()

Return values

Returns a list with two values: status and name.

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device in

question

Parameter

Meaning

Default Value

Comments

N/A

Advertising