From: "Olivier Le Pogam" <olepogam@free.fr>
To: "BlueZ development" <bluez-devel@lists.sourceforge.net>
Cc: Peter Wippich <pewi@gw-instruments.de>
Subject: Re: [Bluez-devel] Creating a connection : Error: Command Disallowed
Date: Thu, 20 Dec 2007 21:07:35 +0100 [thread overview]
Message-ID: <000801c84343$f6efce40$0200a8c0@jester> (raw)
In-Reply-To: Pine.LNX.4.63.0712201911380.5733@redbean.intranet.gw-instruments.de
Thanks a lot for your answer Peter,
> 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.
Sorry if my question is stupid, but do you know if there are other bluetooth
chips used in common dongles that would support multiple connection setups
in parallel ? This way I could to find one of them and test it ;)
> 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).
I use a simple socket "connect" to perform my connections, and having a look
at my hcidump it seems that the low level layer is retrying the connection
by itself, without actually leaving the "connect". Not sure how this retry
is performed though, and how to tune it ?
I will provide you with complete hcidump tomorrow morning as Marcel asked.
Best regards,
Oli
-------------------------------------------------------------------------
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
next prev parent reply other threads:[~2007-12-20 20:07 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
2007-12-20 20:07 ` Olivier Le Pogam [this message]
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='000801c84343$f6efce40$0200a8c0@jester' \
--to=olepogam@free.fr \
--cc=bluez-devel@lists.sourceforge.net \
--cc=pewi@gw-instruments.de \
/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