Users Manual Instruction Manual

187
CATC BTTRAINER 2.11 CHAPTER
Users Manual
if (result[0] == "Success")
{
Trace("InquiryScanInterval is: 0x", result[1], "\n");
Trace("InquiryScanWindow is : 0x", result[2], "\n");
}
HCIReadLinkPolicySettings
HCIReadLinkPolicySettings(Address)
Return value
Returns the following list of values: status and link policy settings.
Status (element 0) is one of the following:
“Success”
“Failure”
“Failed: Device not found”
“Not connected”
Link policy settings (element 1) is the two-byte value of the link policy set-
tings.
Comments
Reads the value of the Link_Policy_Settings parameter for the device.
Example
Device = '010203040506';
result = HCIReadLinkPolicySettings(Device);
Trace("HCIReadLinkPolicySettings returned: ", result[0],
"\n");
if (result[0] == "Success")
{
Trace("Link Policy Settings : ", result[1] ,"\n");
}
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device in
question