Users Manual Instruction Manual

198
CATC BTTRAINER 2.11 CHAPTER
Users Manual
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 connection
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 BTTrainer.
Example
Trace("Merlin's Wand accessible mode: ",
HCIReadScanEnable());
Parameter Meaning Default Value Comments
N/A