From f253711c0e46cffe68a7c2361580b458520c121e Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 4 Oct 2023 12:40:04 -0700 Subject: [PATCH] client: Print Manufacturer and Version on show command This enables show to print the Manufaturer and Version information if available: bluetoothctl> show ... Manufacturer: 0x0002 (2) Version: 0x0b (11) --- client/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/main.c b/client/main.c index a1c536c63..88b5d5d0c 100644 --- a/client/main.c +++ b/client/main.c @@ -908,6 +908,8 @@ static void cmd_show(int argc, char *argv[]) bt_shell_printf("Controller %s\n", address); } + print_property(adapter->proxy, "Manufacturer"); + print_property(adapter->proxy, "Version"); print_property(adapter->proxy, "Name"); print_property(adapter->proxy, "Alias"); print_property(adapter->proxy, "Class"); -- 2.47.3