public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] concurrent calls to RFCOMM connect()
Date: Tue, 27 Nov 2007 09:29:21 +0100	[thread overview]
Message-ID: <1196152161.17196.20.camel@aeonflux> (raw)
In-Reply-To: <f8e53fb0711270003r2e32f78ev18205a8381d750d3@mail.gmail.com>

Hi Andrea,

> > It serializes connection attempts to different remote devices. If you
> > try to connect to the same remote device (by opening the same TTY twice)
> > then you are out of luck. The kernel is not doing anything here.
> 
> My question was not clear enough... In my test I try to connect to a
> different remote address while in progress with the first one (both
> powered off). I do it like this:
> 
> Terminal 1:
> $> rfcomm connect 00:01:95:07:30:EA
> 
> Terminal 2 (while the first attempt is in progress):
> $> rfcomm connect 00:01:95:07:30:40
> Can't connect RFCOMM socket: Device or resource busy
> 
> Does it mean my kernel and/or my bluez-utils are too old to queue
> connection attempts?

I think your kernel is too old, because we fixed that. However the
kernel only queues the attempt. It won't make it faster since we can't
serialize the baseband/radio.

> > You need to read the specification since clearly you are guessing here
> > behavior. The various timeouts can be configured. Or maybe get a book
> > that explains the basics behind the Bluetooth radio.
> 
> I'm going to follow your suggestions, even if I believe the
> specification is too intricated for me. Maybe a book is a better
> choice. Thanks for patience.

There exist a bunch of books that are good enough. Actually the might be
even better then the raw specification document.

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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2007-11-27  8:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-17  7:33 [Bluez-users] concurrent calls to RFCOMM connect() Andrea Galbusera
2007-10-17 14:20 ` Marcel Holtmann
2007-10-18  6:39   ` Andrea Galbusera
2007-11-25 15:54   ` Andrea Galbusera
2007-11-26  5:36     ` Marcel Holtmann
2007-11-27  8:03       ` Andrea Galbusera
2007-11-27  8:29         ` Marcel Holtmann [this message]
2007-11-27  8:37           ` Marco Pracucci
2007-11-27  8:43             ` Marcel Holtmann

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=1196152161.17196.20.camel@aeonflux \
    --to=marcel@holtmann.org \
    --cc=bluez-users@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