New issue
Advanced search Search tips

Issue 710361 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature

Blocking:
issue 707630



Sign in to add a comment

bluetooth: Define GetUUIDs() better.

Project Member Reported by ortuno@chromium.org, Apr 11 2017

Issue description

The return value of GetUUIDs() is not well defined, its caching policy causes problems for its clients and significantly increases the complexity of the implementations.

  // Returns the set of UUIDs that this device supports.
  //  * For classic Bluetooth devices this data is collected from both the EIR
  //    data and SDP tables.
  //  * For non-connected Low Energy Devices this returns the latest advertised
  //    UUIDs.
  //  * For connected Low Energy Devices for which services have not been
  //    discovered returns an empty list.
  //  * For connected Low Energy Devices for which services have been discovered
  //    returns the UUIDs of the device's services.
  //  * For dual mode devices this may be collected from both.
  //
  // Note: On ChromeOS and Linux, BlueZ persists all services meaning if
  // a device stops advertising a service this function will still return
  // its UUID.


I don't know enough about classic to know where best to expose this information for classic devices but for Low Energy Devices it would be great if it didn't include Advertised UUIDs and were only available if a device is connected and all its services have been discovered.
 
Usually it is only beacons that have transient Advertisement Data, which btw is not really mentioned in any SIG specification how this should behave. Regular profiles like HoG, etc, that do rely on connection uses Advertisement as a method of discovery where caching is perfectly fine.
Project Member

Comment 2 by sheriffbot@chromium.org, Apr 12 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment