On Fri, 24 Aug 2007 14:14:53 +0200 (CEST) Peter Wippich wrote: > > 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). > That's not true, the reported behavior is produced by bluez-libs. I already sent a patch to fix it and will attach that patch again to this mail. Please let me know if that Patch fixes your problem Matthias. Greetings Andy See also: http://thread.gmane.org/gmane.linux.bluez.devel/12491