Skip to content

Allow requiring pairing for GATT notifications/indications #43

Open
Property404 wants to merge 2 commits intodfrankland:masterfrom
StarryInternet:dmartinez/secure-server-initiated-updates
Open

Allow requiring pairing for GATT notifications/indications #43
Property404 wants to merge 2 commits intodfrankland:masterfrom
StarryInternet:dmartinez/secure-server-initiated-updates

Conversation

@Property404
Copy link
Copy Markdown
Contributor

Add support for the x-indicate and x-notify flags in BlueZ 5.62. This requires a breaking API change

The 'properties' macro had too much complexity/flexibility that wasn't
being used, making it difficult to add a new feature.
In BlueZ versions greater than 5.61, the
`encrypt-authenticated-notify/indicate`, `secure-notify/indicate`, and
`encrypt-notify/indicate` flags are available to require certain levels
of security for server-initiated updates.

This commit introduces a breaking API change to support these flags.

See BlueZ commit 61576a8e78c321d67412c6a49ef293c94ec8a235 for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant