Thread (7 messages) 7 messages, 2 authors, 2021-09-29
STALE1825d

[PATCH BlueZ 1/5] gatt-api: Add MTU property to GattCharacteristic1

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2021-09-28 23:54:55
Subsystem: the rest · Maintainer: Linus Torvalds

From: Luiz Augusto von Dentz <redacted>

This adds MTU properyt to GattCharacteristic1 which can be used in
order to determine how much data can be read/write using non-long
procedures which sometimes is the only thing the remote device
supports.

Fixes: https://github.com/bluez/bluez/issues/199
---
 doc/gatt-api.txt | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt
index 04789c6d3..120b23d1a 100644
--- a/doc/gatt-api.txt
+++ b/doc/gatt-api.txt
@@ -281,6 +281,12 @@ Properties	string UUID [read-only]
 			shall be used which will cause the allocated handle to
 			be set once registered.
 
+		uint16 MTU [read-only]
+
+			Characteristic MTU, this is valid both for ReadValue
+			and WriteValue but either method can use long
+			procedures when supported.
+
 Characteristic Descriptors hierarchy
 ====================================
 
-- 
2.31.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help