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

Bug fix: Write correct descriptor value when attempting to disable notifications #543

Conversation

muscardinus
Copy link
Contributor

Disabling a characteristic notification does not work correctly. It's disabled locally (gatt.setCharacteristicNotification(characteristic, false)) but the descriptor value written to the BLE device is not correct (ENABLE_NOTIFICATION_VALUE instead of DISABLE_NOTIFICATION_VALUE).

This is a fix.

@CLAassistant
Copy link

CLAassistant commented Feb 13, 2024

CLA assistant check
All committers have signed the CLA.

@philips77
Copy link
Member

Wow, that's a good finding. It was like this for years!

@philips77 philips77 merged commit 3ef4709 into NordicSemiconductor:main Feb 14, 2024
1 check passed
@muscardinus
Copy link
Contributor Author

Thanks 🙂

@muscardinus muscardinus deleted the muscardinus/bugfix/disable-characteristic-notifications branch February 15, 2024 06:40
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.

None yet

3 participants