From 7d0fc7e7f0e4585a97c6a214872106507d1199b9 Mon Sep 17 00:00:00 2001 From: Dagan Martinez Date: Fri, 1 Oct 2021 10:17:19 -0400 Subject: doc/gatt-api: Add 'X-notify`/`X-indicate` Update docs to reflect the addition of the `X-notify` and `X-indicate` characteristic flags, which allow a GATT server to restrict CCC write permissions. --- doc/gatt-api.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/gatt-api.txt b/doc/gatt-api.txt index 120b23d1a..af0aa761d 100644 --- a/doc/gatt-api.txt +++ b/doc/gatt-api.txt @@ -253,7 +253,14 @@ Properties string UUID [read-only] Defines how the characteristic value can be used. See Core spec "Table 3.5: Characteristic Properties bit field", and "Table 3.8: Characteristic Extended - Properties bit field". Allowed values: + Properties bit field". + + The "x-notify" and "x-indicate" flags restrict access + to notifications and indications by imposing write + restrictions on a characteristic's client + characteristic configuration descriptor. + + Allowed values: "broadcast" "read" @@ -267,10 +274,16 @@ Properties string UUID [read-only] "writable-auxiliaries" "encrypt-read" "encrypt-write" + "encrypt-notify" (Server only) + "encrypt-indicate" (Server only) "encrypt-authenticated-read" "encrypt-authenticated-write" + "encrypt-authenticated-notify" (Server only) + "encrypt-authenticated-indicate" (Server only) "secure-read" (Server only) "secure-write" (Server only) + "secure-notify" (Server only) + "secure-indicate" (Server only) "authorize" uint16 Handle [read-write, optional] (Server Only) -- cgit v1.2.1