projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee7c638
)
client: Print MTU on attribute-info
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Tue, 28 Sep 2021 23:53:08 +0000
(16:53 -0700)
committer
Ayush 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
patch
|
blob
|
history
diff --git
a/client/main.c
b/client/main.c
index
7a61f55
..
5f5864c
100644
(file)
--- a/
client/main.c
+++ b/
client/main.c
@@
-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);