User Manual

Table Of Contents
212
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
Example
result = HCIWritePINType(0);
HCIWriteScanEnable()
HCIWriteScanEnable(AccessibleMode)
Return value
“Success”
“Timed out”
“Failure”
Comments
Sets the accessible mode of Merlin’s Wand.
Example
HCIWriteScanEnable("CONNECTABLE_ONLY");
HCIWriteStoredLinkKey()
HCIWriteStoredLinkKey(Address, LinkKey)
Return value
“Success”
“Failure”
Parameter Meaning Default Value Comments
Accessible
Mode
Access mode
to set Merlin's
Wand
“GENERAL_
ACCESSI-
BLE”
Mode can be one of:
“GENERAL_ACCESSIBLE”,
“NOT_ACCESSIBLE”,
“CONNECTABLE_ONLY”
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device that
will have its
link key stored
LinkKey String contain-
ing the link
key to be
stored
Up to 32 Hex digits