Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1d8c9fd5 authored by David Duarte's avatar David Duarte
Browse files

hearing_aid: Do a direct connection if another ear is connected

On connection, if another device from the set is connecting,
transform the background connection to a direct connection to allow
to scan more aggressively and connection as fast as possible.

On a peer disconnection, if another device from the set is still
connected issue a direct connection. If this direct connection fails
(after 30s) it will be transformed back into a background connection.

Bug: 308032317
Test: manual, open Wireshark and look at the LE Extended Create Connection
  Scan Interval + the time it takes on the UI when:
  - taking the HA out of the case
  - putting one HA back in the case and taking it out
  - putting one HA back in the case and wait 30 seconds
Change-Id: Ie4fd9885fbc57dd608a94f173c21d0a1130efa09
parent c0e70b78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment