Hciauthenticationrequested(), Hcicatcbertest() – Teledyne LeCroy Merlins Wand - Users Manual User Manual

Page 181

Advertising
background image

165

CATC M

ERLIN

S

W

AND

2.00

C

HAPTER

C

User’s Manual

Merlin’s Wand Scripting Commands

Example

result = HCIAddSCOConnection(Devices[0], ["DM1", "HV1"]);

if(result != "Success")

{

MessageBox(result, "Failed to add SCO connection!");

}

HCIAuthenticationRequested()

HCIAuthenticationRequested(Address)

Return value

“Success”

“Failure”

“Failed: Device not found”

“Timed Out”

“Not connected”

Comments

Attempts to authenticate an existing link with the specified device.

Example

result = HCIAuthenticationRequested (Devices[0]);

if(result != "Success")

{

MessageBox(result, "Failed to authenticate!");

}

HCICatcBerTest()

HCICatcBerTest(Address, NumberOfPackets, BERPacketType,
TestDataType, TestData, BERInterval)

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device to

authenticate

with

A connection must exist with this device for an
authentication request to work.

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of the

remote device

Advertising