Re: [Bluez-devel] multithreaded name resolution

Peter Wippich
2007-08-24T12:14:53Z

Hi Matthias,

On Fri, 24 Aug 2007, Matthias Becker wrote:

> Hi,
>
> I tried to read the name of different devices parallel using multi
> threading, but without success. If there is one bluetooth device I works
> (as there is no real multi threading). If there are who devices, the
> same name is reported for both devices. In another test with 6 devices
> hci_read_remote_name returned something <0 so I did not get any name at
> all.

this won't work. Asking for the name of a device is some sort of
connection setup, and most (all ?) Bt chips do not allow / can not handle
parallel connection setups (even though parallel connections are
possible).

So don't try further, the problem is outside your code (and even BlueZ).

Ciao,

Peter