public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Creating a connection : Error: Command Disallowed
Date: Thu, 20 Dec 2007 20:10:55 +0100	[thread overview]
Message-ID: <1198177855.8050.264.camel@aeonflux> (raw)
In-Reply-To: <Pine.LNX.4.63.0712201911380.5733@redbean.intranet.gw-instruments.de>

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

  reply	other threads:[~2007-12-20 19:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-20 17:08 [Bluez-devel] Creating a connection : Error: Command Disallowed Olivier Le Pogam
2007-12-20 18:17 ` Peter Wippich
2007-12-20 19:10   ` Marcel Holtmann [this message]
2007-12-20 20:07   ` Olivier Le Pogam
2007-12-21 10:15     ` Olivier Le Pogam
2007-12-21 13:39       ` Marcel Holtmann
2007-12-21 13:49         ` Peter Wippich
2007-12-21 14:35           ` Olivier Le Pogam
2007-12-21 14:53             ` Peter Wippich
2007-12-21 19:34               ` Olivier Le Pogam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1198177855.8050.264.camel@aeonflux \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox