Return-Path: From: Matthias Becker To: BlueZ development In-Reply-To: <20071001154023.53e57c49@localhost.localdomain> References: <2EB6297382462046A9427D7324788A480217D35A@MCLNEXVS06.resource.ds.bah.com> <8de6c3e20708231340j439ca230i487e816693149441@mail.gmail.com> <1187964393.5121.10.camel@matthias.BEYONDSOFT.local> <20071001154023.53e57c49@localhost.localdomain> Date: Thu, 11 Oct 2007 13:10:25 +0200 Message-Id: <1192101025.8393.4.camel@matthias.BEYONDSOFT.local> Mime-Version: 1.0 Subject: Re: [Bluez-devel] [PATCH]Re: multithreaded name resolution Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net > > > 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 Sorry for the delay. I tried your patch and in my tests it works perfectly with up to three parallel name requests using this bluetooth adapter: http://www.trust.com/products/default.aspx?item=14693 Thanks -- Matthias Becker ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel