Re: [Bluez-devel] how to do asynchronous device inquiry?

Marcel Holtmann
2004-06-29T09:21:29Z

Hi Albert,

> Can somone point me to an example of how to do an asynchronous device
> inquiry using bluez? I'd like to start an inquiry with an ioctl or
> something like that, and then be notified either with signals or by
> polling as devices are discovered. If this is currently not possible,
> can you point me to which source files I could modify that would allow
> me to do this? Thanks!

you must use the HCI raw socket interface for it. Some time ago I posted
example code for integration into the GNOME Bluetooth subsystem. Check
the mailing list archives.