summaryrefslogtreecommitdiff
path: root/client/main.c
diff options
context:
space:
mode:
authorAlain Michaud <alainm@chromium.org>2020-07-07 02:19:20 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2020-07-07 10:49:34 -0700
commit615d82331d0c2ec61951542db40f9ab7e4d79d60 (patch)
tree63f6426dc875392b5ace7e1b472ac49b5a0ab79f /client/main.c
parentf76ca728eadb4509ebe1c0924578469673bd7314 (diff)
downloadbluez-615d82331d0c2ec61951542db40f9ab7e4d79d60.tar.gz
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
Diffstat (limited to 'client/main.c')
-rw-r--r--client/main.c1
1 files changed, 1 insertions, 0 deletions
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");