* [PATCH v3 BlueZ 2/4] doc: provide MTU on GATT value reads and writes
@ 2018-07-08 2:09 David Krauser
2018-07-09 14:21 ` Luiz Augusto von Dentz
0 siblings, 1 reply; 2+ messages in thread
From: David Krauser @ 2018-07-08 2:09 UTC (permalink / raw
To: linux-bluetooth@vger.kernel.org
---
doc/gatt-api.txt | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt
index 2a8da75b0..ff4bc333a 100644
--- a/doc/gatt-api.txt
+++ b/doc/gatt-api.txt
@@ -68,6 +68,7 @@ Methods=09=09array{byte} ReadValue(dict options)
=09=09=09operation was successful.
=20
=09=09=09Possible options: "offset": uint16 offset
+=09=09=09=09=09 "mtu": Exchanged MTU (Server only)
=09=09=09=09=09 "device": Object Device (Server only)
=20
=09=09=09Possible Errors: org.bluez.Error.Failed
@@ -83,6 +84,7 @@ Methods=09=09array{byte} ReadValue(dict options)
=09=09=09characteristic.
=20
=09=09=09Possible options: "offset": Start offset
+=09=09=09=09=09 "mtu": Exchanged MTU (Server only)
=09=09=09=09=09 "device": Device path (Server only)
=09=09=09=09=09 "link": Link type (Server only)
=09=09=09=09=09 "prepare-authorize": boolean Is prepare
@@ -120,7 +122,9 @@ Methods=09=09array{byte} ReadValue(dict options)
=09=09=09reconnections as the MTU has to be renegotiated.
=20
=09=09=09Possible options: "device": Object Device (Server only)
-=09=09=09=09=09 "MTU": Exchanged MTU (Server only)
+=09=09=09=09=09 "mtu": Exchanged MTU (Server only)
+=09=09=09=09=09 "MTU": Exchanged MTU (Deprecated,
+=09=09=09=09=09=09=09=09Server only)
=09=09=09=09=09 "link": Link type (Server only)
=20
=09=09=09Possible Errors: org.bluez.Error.Failed
@@ -156,7 +160,9 @@ Methods=09=09array{byte} ReadValue(dict options)
=09=09=09reconnections as the MTU has to be renegotiated.
=20
=09=09=09Possible options: "device": Object Device (Server only)
-=09=09=09=09=09 "MTU": Exchanged MTU (Server only)
+=09=09=09=09=09 "mtu": Exchanged MTU (Server only)
+=09=09=09=09=09 "MTU": Exchanged MTU (Deprecated,
+=09=09=09=09=09=09=09=09Server only)
=09=09=09=09=09 "link": Link type (Server only)
=20
=09=09=09Possible Errors: org.bluez.Error.Failed
--=20
2.18.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v3 BlueZ 2/4] doc: provide MTU on GATT value reads and writes
2018-07-08 2:09 [PATCH v3 BlueZ 2/4] doc: provide MTU on GATT value reads and writes David Krauser
@ 2018-07-09 14:21 ` Luiz Augusto von Dentz
0 siblings, 0 replies; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2018-07-09 14:21 UTC (permalink / raw
To: David Krauser; +Cc: linux-bluetooth@vger.kernel.org
Hi David,
On Sun, Jul 8, 2018 at 5:09 AM, David Krauser <david@krauser.org> wrote:
> ---
> doc/gatt-api.txt | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt
> index 2a8da75b0..ff4bc333a 100644
> --- a/doc/gatt-api.txt
> +++ b/doc/gatt-api.txt
> @@ -68,6 +68,7 @@ Methods array{byte} ReadValue(dict options)
> operation was successful.
>
> Possible options: "offset": uint16 offset
> + "mtu": Exchanged MTU (Server only)
> "device": Object Device (Server only)
>
> Possible Errors: org.bluez.Error.Failed
> @@ -83,6 +84,7 @@ Methods array{byte} ReadValue(dict options)
> characteristic.
>
> Possible options: "offset": Start offset
> + "mtu": Exchanged MTU (Server only)
> "device": Device path (Server only)
> "link": Link type (Server only)
> "prepare-authorize": boolean Is prepare
> @@ -120,7 +122,9 @@ Methods array{byte} ReadValue(dict options)
> reconnections as the MTU has to be renegotiated.
>
> Possible options: "device": Object Device (Server only)
> - "MTU": Exchanged MTU (Server only)
> + "mtu": Exchanged MTU (Server only)
> + "MTU": Exchanged MTU (Deprecated,
> + Server only)
> "link": Link type (Server only)
>
> Possible Errors: org.bluez.Error.Failed
> @@ -156,7 +160,9 @@ Methods array{byte} ReadValue(dict options)
> reconnections as the MTU has to be renegotiated.
>
> Possible options: "device": Object Device (Server only)
> - "MTU": Exchanged MTU (Server only)
> + "mtu": Exchanged MTU (Server only)
> + "MTU": Exchanged MTU (Deprecated,
> + Server only)
Id just changed these to mtu since these APIs were introduced recently
I don't think there would be a problem, besides it should be possible
to handle this in the client by just ignoring the casing.
> "link": Link type (Server only)
>
> Possible Errors: org.bluez.Error.Failed
> --
> 2.18.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Luiz Augusto von Dentz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-09 14:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-08 2:09 [PATCH v3 BlueZ 2/4] doc: provide MTU on GATT value reads and writes David Krauser
2018-07-09 14:21 ` Luiz Augusto von Dentz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.