User Manual

Table Of Contents
173
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
Example
result = HCIChangeConnectionPacketType('00803713BDF0',
["DM3","DM5"]);
Trace("Change Connection Packet Type:\n");
Trace(" Status ", result[0], "\n");
HCIChangeLocalName()
HCIChangeLocalName(Name)
Return value
“Success”
“Failure”
Comments
Attempts to change the name of the local device.
Example
result = HCIChangeLocalName("Joe's Device");
if(result != "Success")
{
MessageBox(result, "Failed to change name!");
}
HCIDeleteStoredLinkKey()
HCIDeleteStoredLinkKey(Address, DeleteAll)
Parameter Meaning Default Value Comments
Name String that
contains the
new name for
the local
device
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device that
will have its
link key
deleted