diff mbox series

[BlueZ,5/5] client: Print MTU on attribute-info

Message ID 20210928235447.3077055-5-luiz.dentz@gmail.com (mailing list archive)
State Accepted
Delegated to: Brian Gix
Headers show
Series [BlueZ,1/5] gatt-api: Add MTU property to GattCharacteristic1 | expand

Checks

Context Check Description
tedd_an/checkpatch success Checkpatch PASS
tedd_an/gitlint success Gitlint PASS

Commit Message

Luiz Augusto von Dentz Sept. 28, 2021, 11:54 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This prints the MTU of the characteristic when available.
---
 client/main.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/client/main.c b/client/main.c
index 229d53262..1746b8c7c 100644
--- a/client/main.c
+++ b/client/main.c
@@ -2232,6 +2232,7 @@  static void cmd_attribute_info(int argc, char *argv[])
 		print_property(proxy, "Value");
 		print_property(proxy, "Notifying");
 		print_property(proxy, "Flags");
+		print_property(proxy, "MTU");
 		print_property(proxy, "Descriptors");
 	} else if (!strcmp(iface, "org.bluez.GattDescriptor1")) {
 		bt_shell_printf("Descriptor - %s\n", text);