Asynchronous inquiry
Is there a way, to do an asynchronous inquiry. I only know the hci_inquiry function, which gives you a complete list of the found devices. For two projects (a GUI and a research project) I would like to present each device as soon as it has been found. Is it possible to have some kind of notification each time a device sends the inquiry response message? (Something like multi-processing / multi-threading)?
Currently I work with a maximum response count of 1 in hci_inquiry, but this is not helpful in any case.
Thanks for your help,
Simon
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Simon,
Quoted 6 lines
Is there a way, to do an asynchronous inquiry. I only know the
hci_inquiryfunction, which gives you a complete list of the found devices. For two projects (a GUI and a research project) I would like to present each device as soon as it has been found. Is it possible to have some kind of notification each time a device sends the inquiry response message? (Something like multi-processing / multi-threading)?
you can either use the HCI raw socket directly or use the new D-Bus based API. I would propose you use the D-Bus API. An example might follow in the next couple of days in the bluez-gnome CVS repository.
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Sounds very good. Could you please announce this, if it is ready? Or will there simply be a new bluez-gnome package on your website?
Do I need a new BlueZ version to use this? I currently have Ubuntu 6.06 LTS with BlueZ 2.24. This seems (compared to your website) very outdated. Does anyone know why? Will I have trouble installing bluez-libs-3.4 and bluez-utils-3.4?
Thanks very much for your help.
Simon
Quoted 21 lines · Marcel Holtmann
Hi Simon,
Quoted 7 lines
Is there a way, to do an asynchronous inquiry. I only know the
hci_inquiryfunction, which gives you a complete list of the found devices. For two projects (a GUI and a research project) I would like to present each device as soon as it has been found. Is it possible to have some kind of notification each time a device sends the inquiry response message? (Something like multi-processing / multi-threading)?you can either use the HCI raw socket directly or use the new D-Bus based API. I would propose you use the D-Bus API. An example might follow in the next couple of days in the bluez-gnome CVS repository.
Regards
Marcel
Quoted 10 lines
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Simon,
Quoted 2 lines
Sounds very good. Could you please announce this, if it is ready? Or will there simply be a new bluez-gnome package on your website?
there will be new version and of course an announcement on the BlueZ announce mailing list.
Quoted 4 lines
Do I need a new BlueZ version to use this? I currently have Ubuntu 6.06 LTS with BlueZ 2.24. This seems (compared to your website) very outdated. Does anyone know why? Will I have trouble installing bluez-libs-3.4 and bluez-utils-3.4?
Yes. You need the 3.x generation. However if you follow the configure instructions from the README file, then there you be no problem with installing version 3.4 on a Ubuntu Dapper system.
However maybe someone is volunteering to build Unbuntu Dapper packages for the 3.x generation. Hint, hint.
Regards
Marcel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel