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

Page 214

Advertising
background image

198

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

Example

result = HCIReadStoredLinkKey('6E8110AC0008', 1);

Trace("HCIReadStoredLinkKey() returned: ", result[0],

"\n\n");

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

{

list = result[1];

i = 0;

while (list[(i*2)] != null)

{

Trace("************************\n");

Trace("BDADDR: ", list[(i*2)], "\n");

Trace("Link Key: ", list[(i*2)+1], "\n");

Trace("************************\n");

i = i + 1;

}

}

HCIReadVoiceSetting()

HCIReadVoiceSetting()

Return values

Returns a list with two values: status and voice setting.

Status (element 0) is one of the following:

“Success”

“Failure”

Voice setting (element 1) is the 10-bit voice setting value.

Comments

Reads the voice setting value. This value controls all settings for voice con-
nections.

Example

result = HCIReadVoiceSetting();

Trace("HCIReadVoiceSetting returned: ", result[0], "\n");

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

{

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

}

Parameter

Meaning

Default Value

Comments

N/A

Advertising