diff mbox series

[Bluez,v1,2/3] advertising: Add adv SupportedFeatures to bluetoothctl

Message ID 20200826131610.Bluez.v1.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 Aug. 26, 2020, 8:17 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>
---

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

Patch

diff --git a/client/main.c b/client/main.c
index da877b546..6368cd516 100644
--- a/client/main.c
+++ b/client/main.c
@@ -933,6 +933,7 @@  static void cmd_show(int argc, char *argv[])
 		print_property(adapter->ad_proxy, "SupportedInstances");
 		print_property(adapter->ad_proxy, "SupportedIncludes");
 		print_property(adapter->ad_proxy, "SupportedSecondaryChannels");
+		print_property(adapter->ad_proxy, "SupportedFeatures");
 	}
 
 	return bt_shell_noninteractive_quit(EXIT_SUCCESS);