2021-03-05 23:56:39

by Daniel Winkler

[permalink] [raw]
Subject: [Bluez PATCH v3 2/3] client: Add adv SupportedFeatures to bluetoothctl

This change adds SupportedFeatures to be shown in "show" option of
bluetoothctl. It was tested with and without kernel support for features
to verify that they are shown or not shown correctly.

Change was tested by verifying SupportedFeatures were populated
correctly in bluetoothctl on hatch and kukui chromebooks

Reviewed-by: Miao-chen Chou <[email protected]>
---

Changes in v3: None
Changes in v2: None

client/main.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/client/main.c b/client/main.c
index 79658a463..1669d2c89 100644
--- a/client/main.c
+++ b/client/main.c
@@ -942,6 +942,7 @@ static void cmd_show(int argc, char *argv[])
print_property(adapter->ad_proxy, "SupportedIncludes");
print_property(adapter->ad_proxy, "SupportedSecondaryChannels");
print_property(adapter->ad_proxy, "SupportedCapabilities");
+ print_property(adapter->ad_proxy, "SupportedFeatures");
}

if (adapter->adv_monitor_proxy) {
--
2.30.1.766.gb4fecdf3b7-goog