From 615d82331d0c2ec61951542db40f9ab7e4d79d60 Mon Sep 17 00:00:00 2001 From: Alain Michaud Date: Tue, 7 Jul 2020 02:19:20 +0000 Subject: [PATCH] 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 --- client/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/main.c b/client/main.c index 5186dde72..9abada69f 100644 --- a/client/main.c +++ b/client/main.c @@ -925,6 +925,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"); if (adapter->ad_proxy) { bt_shell_printf("Advertising Features:\n"); -- 2.47.3