Hcireadauthenticationenable(), Hcireadbdaddr(), Hcireadauthenticationenable() hcireadbdaddr() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 196

Advertising
background image

180

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

Trace("Merlin's Wand Link QoS Setup returned: ", QoS[0],

"\n");

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

{

Trace(" Connection Handle : 0x", QoS[1], "\n");

Trace(" Flags

: 0x", QoS[2], "\n");

Trace(" Service Type

: 0x", QoS[3], "\n");

Trace(" Token Rate

: 0x", QoS[4], "\n");

Trace(" Peak Bandwidth

: 0x", QoS[5], "\n");

Trace(" Latency

: 0x", QoS[6], "\n");

Trace(" Delay Variation

: 0x", QoS[7], "\n\n");

}

HCIReadAuthenticationEnable()

HCIReadAuthenticationEnable()

Return values

Returns a list with two values: status and authentication enable.

Status (element 0) is one of the following:

“Success”

“Failure”

Authentication enable (element 1) is the one-byte authentication enable
value. (0=Authentication disabled; 1=Authentication enabled.)

Comments

This command will read the value for AuthenticationEnable parameter.

Example

result = HCIReadAuthenticationEnable();

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

Trace("Merlin's Wand Authentication Enabled : ", result[1],

"\n");

HCIReadBDADDR()

HCIReadBDADDR()

Parameter

Meaning

Default Value

Comments

N/A

Parameter

Meaning

Default Value

Comments

N/A

Advertising