Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: References: <009b01c8432a$f2b9a800$0200a8c0@jester> Date: Thu, 20 Dec 2007 20:10:55 +0100 Message-Id: <1198177855.8050.264.camel@aeonflux> Mime-Version: 1.0 Subject: Re: [Bluez-devel] Creating a connection : Error: Command Disallowed 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 Hi Peter, > > When I try to open 3 RFCOMM connections from the same device to 3 > > remote ones, the first connection is OK but the 2 following give a > > "Error: Command Disallowed". I suspect an incorrect bluetooth parameter > > in my hcid.conf (lp ? lm ?) > > > > Any hint is welcome ! > > > > PC is running a 2.6.23.12 Kernel with BlueZ 3.23 > > > > This is probably because you start the creation of the new connection > before the previous connection request is completed. CSR Chips do not > allow multiple connection setups in parallel. So either wait with the next > connection setup until the previous is compledet (either success or > failure) or retry the connection setup when you get command disallowed > (and it may be a good idea to sleep some 100 milliseconds before > retrying). actually the 2.6.23 should be able to handle (queue) multiple HCI connect requests. I would nee the output of "hcidump -X -V" to see what is actually going on. Regards Marcel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel