From e488f14954b0cafc1ec3af7a671d83a3b27835da Mon Sep 17 00:00:00 2001 From: Grzegorz Kolodziejczyk Date: Mon, 28 May 2018 10:20:51 +0200 Subject: [PATCH] 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. Change-Id: I11da9b9cf6982a71d66f00f1f383f71bcac1d43a Signed-off-by: Amit Purwar --- doc/gatt-api.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt index e9495f6..db37f3e 100755 --- a/doc/gatt-api.txt +++ b/doc/gatt-api.txt @@ -95,6 +95,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 @@ -260,6 +263,7 @@ Properties string UUID [read-only] "encrypt-authenticated-write" "secure-read" (Server only) "secure-write" (Server only) + "authorize" #ifdef TIZEN_FEATURE_BLUEZ_MODIFY array{object} Descriptors [read-only] @@ -295,6 +299,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 @@ -347,6 +354,7 @@ Properties string UUID [read-only] "encrypt-authenticated-write" "secure-read" (Server Only) "secure-write" (Server Only) + "authorize" GATT Profile hierarchy ===================== -- 2.7.4