Re: [Bluez-users] hci_inquiry

Marcel Holtmann
2007-06-13T02:58:59Z

Hi Przemek,

> I'm writing aplication in Java using Avetana library. Sometimes
> inquiry hangs up, and I want to stop it. There is native method in
> library cancelInquiry but it's not implemented. I need to stop
> existing inquiry. Function hci_inquiry implemented in hci.c starts
> inquiry, but i don't find there any function that cancels it.
> I'll be very thankful for any help

if you would use the new D-Bus API for BlueZ you would be able to cancel
it. With the C only API it is not possible. That specific call is
blocking.

Regards

Marcel