Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce encryption for a notify characteristic #1360

Open
Stoician opened this issue Sep 15, 2022 · 0 comments
Open

Enforce encryption for a notify characteristic #1360

Stoician opened this issue Sep 15, 2022 · 0 comments

Comments

@Stoician
Copy link

The current version does not support enforcing encryption when configuring a notify characteristic.
This is something I need for my project and so I added it to get things working.

I think this is a feature that others might like, so attached is a diff of the files that I changed for my project.
Although, this code doesn't distinguish between notify and indicate encryption since there was only 1 bit free in the characteristic flags field.
So you probably can't use the patch directly.

notify_encryption.txt

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

No branches or pull requests

1 participant