User Manual

Table Of Contents
188
CATC MERLINS WAND 1.22 APPENDIX C
Users Manual Merlin’s Wand Scripting Commands
“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");
}
HCIReadLinkSupervisionTimeout()
HCIReadLinkSupervisionTimeout(Address)
Return value
Returns the following list of values: status and link supervision timeout.
Status (element 0) is one of the following:
“Success”
“Failure”
“Failed: Device not found”
“Not connected”
Link supervision timeout (element 1) is the timeout, interpreted as multi-
ples of 0.625-msec intervals.
Comments
Reads the value for the Link_Supervision_Timeout parameter for the
device.
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device in
question