diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-25 12:46:38 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-25 13:04:24 -0700 |
commit | ea903d12068092abfc380f0c78274e4608ff2bf8 (patch) | |
tree | 4c0283d222a4979a6a3013496d1e03ff27b63387 /doc | |
parent | 7c2f0c037e924dd0a9bffd60187f7b2aea36c22f (diff) | |
download | bluez-ea903d12068092abfc380f0c78274e4608ff2bf8.tar.gz |
gatt-api: Add error code ReadValue/WriteValue
This allows application to return error codes in the range allowed by
the spec:
'GATT - Section 4.9.5:
Application Error 0x80 – 0x9F Application error code defined by a
higher layer specification.'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gatt-api.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt index af0aa761d..5042c5470 100644 --- a/doc/gatt-api.txt +++ b/doc/gatt-api.txt @@ -79,13 +79,15 @@ Methods array{byte} ReadValue(dict options) "mtu": Exchanged MTU (Server only) "device": Object Device (Server only) - Possible Errors: org.bluez.Error.Failed + Possible Errors: org.bluez.Error.Failed(string ecode) org.bluez.Error.InProgress org.bluez.Error.NotPermitted org.bluez.Error.NotAuthorized org.bluez.Error.InvalidOffset org.bluez.Error.NotSupported + Possible Error Code: string 0x80 - 0x9f + void WriteValue(array{byte} value, dict options) Issues a request to write the value of the @@ -105,13 +107,15 @@ Methods array{byte} ReadValue(dict options) authorization request - Possible Errors: org.bluez.Error.Failed + Possible Errors: org.bluez.Error.Failed(string ecode) org.bluez.Error.InProgress org.bluez.Error.NotPermitted org.bluez.Error.InvalidValueLength org.bluez.Error.NotAuthorized org.bluez.Error.NotSupported + Possible Error Code: string 0x80 - 0x9f + fd, uint16 AcquireWrite(dict options) [optional] Acquire file descriptor and MTU for writing. Only |