Commit: 3e6157966f4d76b410fb0d1f371e07415d3d141a
Parent: f63c569f971ba9c6f028a9c8bf68be300efbba94
Author: Daniel Winkler <danielwinkler@google.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-10-30 02:45:34
Tree: 4e1724d64b78dddc27dadde1dcfdf22949d95640

advertising: Expose SupportedCapabilities for advertising To help our advertising clients understand the device capabilities, this patch adds a SupportedCapabilities dbus endpoint for the advertising manager. The primary reason behind this is to provide the valid LE tx power range the controller supports (populated if controller supports BT5), so a client can know the valid power range before requesting a tx power for their advertisement. I also thought it would be useful to indicate the max advertising data length and scan response length in this endpoint, since some clients will find it useful to set their advertising data (currently experimental feature) or scan response data (possible future feature) directly. This patch has been tested on Hatch (BT5 support) and Kukui (No BT5 support) chromebooks to verify that the dbus endpoint contains the correct data.

Diffstat

M src/advertising.c | 35 +++++++++++++++++++++++++++++++++++

1 files changed, 35 insertions(+), 0 deletions(-)

View Full Diff | Patch