User Manual

Table Of Contents
165
CATC MERLINS WAND 1.22 APPENDIX C
Users 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