Linux bluetooth development
 help / color / mirror / Atom feed
From: Brad Midgley <bmidgley@xmission.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Re: [Patch] Some btsco modifications
Date: Tue, 15 Mar 2005 00:22:00 -0700	[thread overview]
Message-ID: <42368D18.2000405@xmission.com> (raw)
In-Reply-To: <1110809103.5056.102.camel@pc7.dolda2000.com>

Fredrik

> Another thing, that I'm not sure is a good idea, is to implement a
> "fail-safe" mode in the daemon. Running the daemon in fail-safe mode
> would mean that it doesn't die from not being able to connect to the
> headset. Instead, it would try to reconnect periodically. Same thing if
> the connection is lost at some point. The reason I'm not sure if this is
> a good idea is that one would have to wait for the reconnection attempt
> to get the headset working after making it accessible. Therefore, it may
> well be a good idea to just have to run the daemon manually when one
> knows that the headset is accessible. However, in this case, the daemon
> should at least terminate if it looses the RFCOMM connection to the
> headset. I don't know if it's possible to detect if the RFCOMM
> connection is lost, though. Comments are appreciated.

I don't know about detecting broken rfcomm. I haven't experimented with it.

The way my cell phone works is the headset "connection" is dropped if 
the rfcomm connection is broken. The next call will ring only in the 
handset, not the headset.

We *could* have the daemon attempt to reestablish the rfcomm connection 
when an audio client tries to send/receive audio on a stale link. That 
seems more reasonable than retrying periodically and we might get the 
daemon to the point that it can be left running regardless of the 
transient availability of the target headset.

Next to consider is the convenience of establishing a connection again 
from the headset by advertising audio gateway through sdpd. I think this 
is where Florian is illustrating the similarity to hidd in how we'll 
operate.

BTW, I updated the bug list at sourceforge today.

Brad


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  parent reply	other threads:[~2005-03-15  7:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1110683934.5056.43.camel@pc7.dolda2000.com>
     [not found] ` <4233C663.80109@xmission.com>
2005-03-14  1:11   ` [Bluez-devel] Re: [Patch] Some btsco modifications Fredrik Tolf
2005-03-14 11:52     ` Lars Grunewaldt
2005-03-14 13:51       ` Fredrik Tolf
2005-03-14 15:00         ` Fredrik Tolf
2005-03-14 12:55     ` Brad Midgley
2005-03-14 14:05       ` Fredrik Tolf
2005-03-14 17:26         ` Brad Midgley
2005-03-14 19:01           ` Florian Echtler
2005-03-14 20:34             ` Brad Midgley
2005-03-15  7:22         ` Brad Midgley [this message]
2005-03-15 23:42           ` Fredrik Tolf
2005-03-16  0:17             ` Brad Midgley
2005-03-16  1:56               ` Fredrik Tolf
2005-03-16 12:30                 ` Lars Grunewaldt
2005-03-16 13:01                   ` Fredrik Tolf
2005-03-16 15:18                     ` Brad Midgley
2005-03-16 19:34                     ` Lars Grunewaldt

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=42368D18.2000405@xmission.com \
    --to=bmidgley@xmission.com \
    --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