Users Manual Instruction Manual

173
CATC BTTRAINER 2.11 CHAPTER
Users Manual
Example
Device = '010203040506';
result = HCIFlush (Device);
Trace(result);
HCIGetSCOConnections
HCIGetSCOConnections(HCI_Handle)
Return value
“Success”
“Failure”
“Failed: Device not found”
Comments
Returns the handles of any active SCO connections to this device.
Example
Trace("Device", Devices[0]," has these open SCO handles
", tail(GetSCOConnections(Devices[0])));
HCIHoldMode
HCIHoldMode(Address, MaxInterval, MinInterval)
Parameter Meaning Default Value Comments
HCI_Handle
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device in
question
MaxInterval Maximum
number of
0.625-msec
intervals to
wait in Hold
mode.
Range is 0x0001 to 0xFFFF
(0.625 msec to 40.9 sec).
MinInterval Minimum
number of
0.625-msec
intervals to
wait in Hold
mode.
Range is 0x0001 to 0xFFFF
(0.625 msec to 40.9 sec).