User Manual

Table Of Contents
197
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
LMP subversion (element 3) is the two-byte Link Manager Protocol sub-
version value.
Comments
Reads the version information for the specified device. An ACL connec-
tion with the device is required.
Example
Address = '010203040506';
result = HCIReadRemoteVersionInformation(Address);
Trace("HCIReadRemoteVersionInformation returned: ",
result[0], "\n");
if (result[0] == "Success")
{
Trace("LMP version is: 0x", result[1], "\n");
Trace("Manufacturer name is: 0x", result[2], "\n");
Trace("LMP subversion is: 0x", result[3], "\n");
}
HCIReadScanEnable()
HCIReadScanEnable()
Return value
“GENERAL_ACCESSIBLE”
“LIMITED_ACCESSIBLE”
“NOT_ACCESSIBLE”
“CONNECTABLE_ONLY
“Failure”
Comments
Retrieves the current accessible mode of Merlin’s Wand.
Example
Trace("Merlin's Wand accessible mode: ",
HCIReadScanEnable());
Parameter Meaning Default Value Comments
N/A