Determine optimal BLE parameters |
|||||
Issue descriptionWe currently advertise at a min of 100ms and max of 100ms (these are realistically the smallest intervals we can request of Bluez). Investigate if we can up the min or max interval without sacrifice of connection reliability -- doing so will improve battery life.
,
Aug 10 2017
Kyle: Do you have histogram data about how long the connecting takes? We should use that data to make this decision.
,
Aug 10 2017
No, we currently don't have that data. hansberry@, let's add that metric as part of the fix for this issue.
,
Aug 16 2017
Taking this issue from hansberry@. FYI, the metrics listed in comment #3 are now part of issue 754445.
,
Aug 23 2017
Talking to the Bluetooth team, it seems that our 100ms intervals look good. I also checked to see how long it actually takes to connect to devices as I stated in comment #1. It seems that connections can reasonably take up to 6s in success cases, so it seems our 10s timeout is reasonable. Looks like the only thing really to be done here is to remove Ryan's TODO.
,
Aug 23 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/06e438b147822624bfc81f47677c4b65ddf3f660 commit 06e438b147822624bfc81f47677c4b65ddf3f660 Author: Kyle Horimoto <khorimoto@google.com> Date: Wed Aug 23 21:45:43 2017 [CrOS Tether] Remove TODO to investigate BLE advertising interval. I've tried with other intervals and have talked to the Bluetooth team about this. 100ms seems like the right value. Bug: 753215 , 672263 Change-Id: If59b99d945ca0f08e63bf1c9a7bae78fdbdd9726 Reviewed-on: https://chromium-review.googlesource.com/629636 Reviewed-by: Ryan Hansberry <hansberry@chromium.org> Commit-Queue: Ryan Hansberry <hansberry@chromium.org> Cr-Commit-Position: refs/heads/master@{#496816} [modify] https://crrev.com/06e438b147822624bfc81f47677c4b65ddf3f660/chrome/browser/chromeos/tether/tether_service.cc
,
Aug 23 2017
,
Jan 22 2018
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by khorimoto@chromium.org
, Aug 10 2017