summaryrefslogtreecommitdiff
path: root/doc/gatt-api.txt
diff options
context:
space:
mode:
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@codecoup.pl>2018-05-28 10:20:51 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2018-05-28 16:26:43 +0300
commitf5175e32fcb206d6a48e8302fd737b2dd3b156df (patch)
tree2253985ada36f1b159d8610c5dde783055cb77dc /doc/gatt-api.txt
parentc3c6b4c905abc40d7c9c2ca8fad5252cb1057301 (diff)
downloadbluez-f5175e32fcb206d6a48e8302fd737b2dd3b156df.tar.gz
doc/gatt-api: Add authorization options for attributes
This patch adds authorization property for attributes and prepare write request for authorization option for write request. This is require to handle correctly prepare writes, which may response with insufficient authorization error.
Diffstat (limited to 'doc/gatt-api.txt')
-rw-r--r--doc/gatt-api.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt
index 0f1cc9029..2a8da75b0 100644
--- a/doc/gatt-api.txt
+++ b/doc/gatt-api.txt
@@ -85,6 +85,9 @@ Methods array{byte} ReadValue(dict options)
Possible options: "offset": Start offset
"device": Device path (Server only)
"link": Link type (Server only)
+ "prepare-authorize": boolean Is prepare
+ authorization
+ request
Possible Errors: org.bluez.Error.Failed
org.bluez.Error.InProgress
@@ -250,6 +253,7 @@ Properties string UUID [read-only]
"encrypt-authenticated-write"
"secure-read" (Server only)
"secure-write" (Server only)
+ "authorize"
Characteristic Descriptors hierarchy
====================================
@@ -284,6 +288,9 @@ Methods array{byte} ReadValue(dict flags)
Possible options: "offset": Start offset
"device": Device path (Server only)
"link": Link type (Server only)
+ "prepare-authorize": boolean Is prepare
+ authorization
+ request
Possible Errors: org.bluez.Error.Failed
org.bluez.Error.InProgress
@@ -321,6 +328,7 @@ Properties string UUID [read-only]
"encrypt-authenticated-write"
"secure-read" (Server Only)
"secure-write" (Server Only)
+ "authorize"
GATT Profile hierarchy
=====================