client: Add adv SupportedFeatures to bluetoothctl
authorDaniel Winkler <danielwinkler@google.com>
Tue, 16 Mar 2021 23:22:16 +0000 (16:22 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:35 +0000 (19:08 +0530)
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>
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
client/main.c

index df71632..39619aa 100644 (file)
@@ -945,6 +945,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) {