diff mbox series

[BlueZ,v3,3/5] client: Display wake capable property with info

Message ID 20200127180433.BlueZ.v3.3.I80d0e557c53f464415742324eb3ff2cc4cdcbc2a@changeid
State New
Headers show
Series [BlueZ,v3,1/5] mgmt: Add docs for Set Wake Capable | expand

Commit Message

Abhishek Pandit-Subedi Jan. 28, 2020, 2:05 a.m. UTC
Display whether the device is configured as wake capable when queried
with cmd_info.

---

Changes in v3: None
Changes in v2:
* Newly added to show whether device is wake capable
* Removed automatically setting wake capable for HID devices

 client/main.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/client/main.c b/client/main.c
index 8bd0bac9e..5c53fe08d 100644
--- a/client/main.c
+++ b/client/main.c
@@ -1609,6 +1609,7 @@  static void cmd_info(int argc, char *argv[])
 	print_property(proxy, "Trusted");
 	print_property(proxy, "Blocked");
 	print_property(proxy, "Connected");
+	print_property(proxy, "WakeCapable");
 	print_property(proxy, "LegacyPairing");
 	print_uuids(proxy);
 	print_property(proxy, "Modalias");