diff mbox series

[Bluez,v4,2/3] client: Add adv SupportedFeatures to bluetoothctl

Message ID 20210316162044.Bluez.v4.2.I33cf8432f94675b635ab429b3125f54048c5b66a@changeid (mailing list archive)
State Accepted
Delegated to: Luiz Von Dentz
Headers show
Series Expose extended adv feature support via bluez API | expand

Commit Message

Daniel Winkler March 16, 2021, 11:22 p.m. UTC
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 <mcchou@chromium.org>
---

Changes in v4: None
Changes in v3: None
Changes in v2: None

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

Patch

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) {