User Manual

Table Of Contents
182
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
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()
Return values
Returns a list with two values: status and address.
Status (element 0) is one of the following:
“Success”
“Failure”
Address (element 1) is the address of the local device.
Comments
This command is used to read the value for the BD_ADDR parameter. The
BD_ADDR is a 48-bit unique identifier for a Bluetooth device.
Example
LocalAddress = HCIReadBDADDR();
if(LocalAddress [0] == "Success")
Trace("Local BDADDR:", LocalAddress[1], "\n");
HCIReadBufferSize()
HCIReadBufferSize()
Return values
Returns a list with five values: status, ACL packet length, SCO packet
length, ACL number of packets, and SCO number of packets.
Parameter Meaning Default Value Comments
N/A
Parameter Meaning Default Value Comments
N/A