shared/att-types: Add attribute permission defines

System Internals / BlueZ - Arman Uguray [chromium.org] - 24 October 2014 05:18 UTC

GATT doesn't have a standard way of representing attribute permissions but coming up with values that can be used consistently among code that uses shared/att is valuable. This patch introduces defines to represent attribute permissions in a bitfield, with specific bits assigned to read and write access, encryption, authentication, and authorization permissions.

d25c3a1 shared/att-types: Add attribute permission defines
src/shared/att-types.h | 12 ++++++++++++
1 file changed, 12 insertions(+)

Upstream: git.kernel.org


  • Share