Users Manual Instruction Manual
172
CATC BTTRAINER 2.11 CHAPTER
User’s Manual
HCIExitSniffMode
HCIExitSniffMode(Address)
Return value
• “Success”
• “Failure”
• “Failed: Device not found”
• “Not connected”
Comments
Exits Sniff mode.
Example
Device = '010203040506';
result = HCIExitSniffMode(Device);
Trace("HCIExitSniffMode result is: ", result, "\n");
HCIFlush
HCIFlush(Address)
Return value
• "Success"
•"Failure"
• "Not connected"
• "Failed: Not found"
Comments
The Flush command is used to discard all data that is currently pending for
transmission in the Host Controller for the specified connection handle,
even if there currently are chunks of data that belong to more than one
L2CAP packet in the Host Controller.
Parameter Meaning Default Value Comments
Address Bluetooth
address of
device in
question
Parameter Meaning Default Value Comments
HCI_Handle