client: Print MTU on attribute-info
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 28 Sep 2021 23:53:08 +0000 (16:53 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
This prints the MTU of the characteristic when available.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
client/main.c

index 7a61f55..5f5864c 100644 (file)
@@ -2238,6 +2238,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);