From: Yunhan Wang <yunhanw@google.com>
To: linux-bluetooth@vger.kernel.org
Cc: Yunhan Wang <yunhanw@google.com>
Subject: [PATCH BlueZ 1/3] doc/gatt-api: Add UpdateMTU and MTU
Date: Thu, 14 Sep 2017 16:47:48 -0700 [thread overview]
Message-ID: <20170914234748.79584-3-yunhanw@google.com> (raw)
In-Reply-To: <20170914234748.79584-1-yunhanw@google.com>
Add updateMTU in gatt method to get att mtu value in server side.
Add MTU property in gatt property.
---
doc/gatt-api.txt | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt
index cdd15f301..419308a7e 100644
--- a/doc/gatt-api.txt
+++ b/doc/gatt-api.txt
@@ -169,6 +169,13 @@ Methods array{byte} ReadValue(dict options)
Possible Errors: org.bluez.Error.Failed
+ void UpdateMTU() [optional] (Server only)
+
+ This method doesn't expect a reply so it is just
+ MTU value update in user space at server side.
+
+ Possible Errors: org.bluez.Error.Failed
+
Properties string UUID [read-only]
128-bit characteristic UUID.
@@ -225,6 +232,10 @@ Properties string UUID [read-only]
"secure-read" (Server only)
"secure-write" (Server only)
+ uint16_t MTU [read-only, optional]
+
+ ATT MTU value
+
Characteristic Descriptors hierarchy
====================================
--
2.14.1.690.gbb1197296e-goog
next prev parent reply other threads:[~2017-09-14 23:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-14 23:47 [PATCH BlueZ 3/3] client: Add MTU and UpdateMTU implementation Yunhan Wang
2017-09-14 23:47 ` [PATCH BlueZ 2/3] gatt: Do UpdateMTU when write comes in Yunhan Wang
2017-09-14 23:47 ` Yunhan Wang [this message]
2017-09-14 23:52 ` [PATCH BlueZ 1/3] doc/gatt-api: Add UpdateMTU and MTU Yunhan Wang
2017-09-15 6:21 ` Luiz Augusto von Dentz
[not found] ` <CALvjcs9HB7E2=Rmm7LxPHwzEFbF4az+G2=T=XzgnH4JZ6fSN_Q@mail.gmail.com>
2017-09-15 7:36 ` Luiz Augusto von Dentz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170914234748.79584-3-yunhanw@google.com \
--to=yunhanw@google.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox