From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: Mikel Astiz <mikel.astiz.oss@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [RFC BlueZ v0 0/5] ACL disconnect reason
Date: Tue, 15 May 2012 12:58:02 +0300 [thread overview]
Message-ID: <CABBYNZ+030STq_Z4iNFCThAbLv5ZMaxkiMUzv4CtSi656ohkRw@mail.gmail.com> (raw)
In-Reply-To: <CANT-zCXBoa+SsSqrMahPFumww65GaNVyYKCWefZK-a+pzS+RXg@mail.gmail.com>
Hi Mikel,
On Tue, May 15, 2012 at 11:45 AM, Mikel Astiz <mikel.astiz.oss@gmail.com> wrote:
> We might be discussing about different reconnection policies. You are
> focusing on the short-term reconnection strategy, where several
> attempts can be made in order to reconnect as soon as possible and
> improve user experience. For this I agree BlueZ could handle the case.
>
> However this RFC was motivated by the overall connection policy
> (perhaps "reconnect" was not the right term here). A use-case can be a
> car with a paired phone and HFP is connected. The user leaves the car
> while still turned on (someone else could be driving) and a timeout
> would eventually occur. Next morning, when the user enters the car,
> his phone should be connected. On the contrary, if the user
> disconnected the HFP from the phone, this reconnection should not be
> triggered.
Yep, but that is a reboot case where you probably have to attempt to
connect to each device that was not disconnected cleanly.
> From my point of view, the exact policy of which devices, how many of
> them, using which priorities, which profiles, etc. is manufacturer and
> model-specific. I don't think these policies should be embedded in
> BlueZ. After all, we already have a nice D-Bus API to handle these
> use-cases, and only the disconnect reason seems to be missing.
Disconnect reason doesn't solve all the problems, specially in multi
profile case when just one profile has disconnected but the link is
still active. Besides that I would be very interested to know why each
model has to have a different behavior this goes completely in
opposite of having a common stack with a well defined behavior.
When you say you want this specific per model all I can think of is
how much IOP problems it can cause and in the end I see no benefit for
the user, we should aim for re-connect as quick as possible and that
should be enough for any model.
--
Luiz Augusto von Dentz
next prev parent reply other threads:[~2012-05-15 9:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-14 15:32 [RFC BlueZ v0 0/5] ACL disconnect reason Mikel Astiz
2012-05-14 15:33 ` [RFC BlueZ v0 1/5] doc: Add D-Bus signal to provide " Mikel Astiz
2012-05-14 15:33 ` [RFC BlueZ v0 2/5] Use defines instead of magic numbers Mikel Astiz
2012-07-18 11:49 ` Mikel Astiz
2012-07-18 12:23 ` Johan Hedberg
2012-05-14 15:33 ` [RFC BlueZ v0 3/5] Propagate disconnect reason to adapter Mikel Astiz
2012-05-14 15:33 ` [RFC BlueZ v0 4/5] Propagate disconnect reason to device Mikel Astiz
2012-05-14 15:33 ` [RFC BlueZ v0 5/5] Send D-Bus signal to propagate disconnect reason Mikel Astiz
2012-05-14 17:00 ` [RFC BlueZ v0 0/5] ACL " Luiz Augusto von Dentz
2012-05-15 6:46 ` Mikel Astiz
2012-05-15 8:10 ` Luiz Augusto von Dentz
2012-05-15 8:45 ` Mikel Astiz
2012-05-15 9:58 ` Luiz Augusto von Dentz [this message]
2012-05-16 7:12 ` Mikel Astiz
2012-05-16 14:28 ` Mike
2012-05-17 13:41 ` Luiz Augusto von Dentz
2012-05-17 14:00 ` Mike
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=CABBYNZ+030STq_Z4iNFCThAbLv5ZMaxkiMUzv4CtSi656ohkRw@mail.gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=mikel.astiz.oss@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).