Re: [PATCH BlueZ v5 1/4] doc/gatt-api: Add authorization options for attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Grzegorz,

On Mon, May 28, 2018 at 11:20 AM, Grzegorz Kolodziejczyk
<grzegorz.kolodziejczyk@xxxxxxxxxxx> wrote:
> 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 | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> 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
>  =====================
> --
> 2.13.6

Patches 1-3 applyed, thanks.

-- 
Luiz Augusto von Dentz
--
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



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux