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. --- doc/gatt-api.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt index 0f1cc9029..7d2517ccc 100644 --- a/doc/gatt-api.txt +++ b/doc/gatt-api.txt @@ -85,6 +85,8 @@ Methods array{byte} ReadValue(dict options) Possible options: "offset": Start offset "device": Device path (Server only) "link": Link type (Server only) + "prep-authz-req": boolean Is prepare write + authorization request Possible Errors: org.bluez.Error.Failed org.bluez.Error.InProgress @@ -251,6 +253,11 @@ Properties string UUID [read-only] "secure-read" (Server only) "secure-write" (Server only) + boolean Authorize [read-only, optional] (Server only) + + True, if authorization is required for attribute + operations. + Characteristic Descriptors hierarchy ==================================== @@ -284,6 +291,8 @@ Methods array{byte} ReadValue(dict flags) Possible options: "offset": Start offset "device": Device path (Server only) "link": Link type (Server only) + "prep-authz-req": boolean Is prepare write + authorization request Possible Errors: org.bluez.Error.Failed org.bluez.Error.InProgress -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html