public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/5] gatt-api: Add MTU property to GattCharacteristic1
@ 2021-09-28 23:54 Luiz Augusto von Dentz
  2021-09-28 23:54 ` [PATCH BlueZ 2/5] gatt: Add implementation of GattCharacteristic1.MTU Luiz Augusto von Dentz
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Luiz Augusto von Dentz @ 2021-09-28 23:54 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-29 22:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-28 23:54 [PATCH BlueZ 1/5] gatt-api: Add MTU property to GattCharacteristic1 Luiz Augusto von Dentz
2021-09-28 23:54 ` [PATCH BlueZ 2/5] gatt: Add implementation of GattCharacteristic1.MTU Luiz Augusto von Dentz
2021-09-28 23:54 ` [PATCH BlueZ 3/5] shared/att: Add bt_att_register_exchange Luiz Augusto von Dentz
2021-09-28 23:54 ` [PATCH BlueZ 4/5] gatt: Emit PropertiesChanged("MTU") when MTU is exchanged Luiz Augusto von Dentz
2021-09-28 23:54 ` [PATCH BlueZ 5/5] client: Print MTU on attribute-info Luiz Augusto von Dentz
2021-09-29  1:25 ` [BlueZ,1/5] gatt-api: Add MTU property to GattCharacteristic1 bluez.test.bot
2021-09-29 22:47   ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox