Re: [RFC BlueZ v0 0/5] ACL disconnect reason

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mikel,

On Tue, May 15, 2012 at 9:46 AM, Mikel Astiz <mikel.astiz.oss@xxxxxxxxx> wrote:

> The connection/reconnection policy is manufacturer and model-specific.
> Therefore I find it difficult that we could include this inside
> bluetoothd.

Well the Simultaneous Use of HFP, A2DP and AVRCP has a recommendation
to re-connect:

Recommendation 9:
An automatic re-connection policy can be used to re-connect the
signaling connections after link loss. In this case only the RD side
should reconnect. The number of attempts and periodicity are
implementation dependant, but it is recommended to have a relatively
small limit on the number of attempts to avoid battery drainage.
Motivation 9:
Since a link loss is an unexpected behavior for the user, an automatic
action of attempting to reconnect improves the user experience. MP
should not try to reconnect to avoid collisions.

So if it is recommended by the white paper I don't see why it should
be manufacture/model specific, note that only the number of attempts
to re-connect is implementation dependent, but we can have an option
in audio.conf where the platform configure the number of attempts and
perhaps the interval between them if we cannot find a good default.

> Having said that, I would be happy to review any proposal.
>
>> Btw, none of this is useful without tuning the link supervision
>> timeout because the current one used by BlueZ iirc is 20 seconds, far
>> too big for being able to recover the audio.
>
> That should definitely be tuned. However it's not always about
> recovering audio, but knowing to which phone the car should connect.
> With HFP there might be no audio and no voicecall during connection.

Still 20 seconds to detect link-loss will be noticeable by the user,
which is the whole point of the recommendation.


-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux