From: Alain Michaud Date: Tue, 7 Jul 2020 02:19:20 +0000 (+0000) Subject: client: Add support for the Roles property. X-Git-Tag: submit/tizen/20210606.232858~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e58ea337f8d798b79626ddbd72f4f43969cd179;p=platform%2Fupstream%2Fbluez.git client: Add support for the Roles property. This adds support for reading the Roles property through bluetootctl's show option. [bluetooth]# show ... Roles: central Roles: peripheral Roles: central-peripheral Signed-off-by: Anuj Jain Signed-off-by: Ayush Garg --- diff --git a/client/main.c b/client/main.c index e4b9aa8d..b3e4fe21 100644 --- a/client/main.c +++ b/client/main.c @@ -924,6 +924,7 @@ static void cmd_show(int argc, char *argv[]) print_uuids(adapter->proxy); print_property(adapter->proxy, "Modalias"); print_property(adapter->proxy, "Discovering"); + print_property(adapter->proxy, "Roles"); #ifdef TIZEN_FEATURE_BLUEZ_MODIFY print_property(adapter->proxy, "Advertising");