Skip to content

Commit

Permalink
client: Print Manufacturer and Version on show command
Browse files Browse the repository at this point in the history
This enables show to print the Manufaturer and Version information if
available:

bluetoothctl> show
...
	Manufacturer: 0x0002 (2)
	Version: 0x0b (11)
  • Loading branch information
Vudentz committed Oct 4, 2023
1 parent f2677c0 commit f253711
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit f253711

Please sign in to comment.