2006-08-28 18:13:06

by Simon Siemens

[permalink] [raw]
Subject: [Bluez-devel] 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


2006-08-29 10:44:33

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Asynchronous inquiry

Hi Simon,

> 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.

> 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

2006-08-29 08:24:09

by Simon Siemens

[permalink] [raw]
Subject: Re: [Bluez-devel] Asynchronous inquiry

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



Marcel Holtmann schrieb:
> Hi Simon,
>
>
>> 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)?
>>
>
> 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
>

-------------------------------------------------------------------------
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

2006-08-28 21:13:09

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Asynchronous inquiry

Hi Simon,

> 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)?

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