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

Remove "Characteristic already notifying" error #79

Open
Erhannis opened this issue Sep 5, 2024 · 1 comment
Open

Remove "Characteristic already notifying" error #79

Erhannis opened this issue Sep 5, 2024 · 1 comment

Comments

@Erhannis
Copy link

Erhannis commented Sep 5, 2024

On at least some platforms, trying to notify twice on a characteristic throws an error. IMO, it should not. The user wants to be notified of changes to a characteristic - if that's already happening, nothing needs to change, no error needs to be thrown, and success is automatic. Throwing an error suggests notifications are NOT happening. Is there a counterpoint I've missed, a reason to continue throwing that error?

I see the error in Linux, and in the Web code, but if the error is present elsewhere, this issue addresses them, as well.

@rohitsangwan01
Copy link
Contributor

@Erhannis, I see what you mean, and I believe this is another case of platform implementation differences. We'll work on unifying the behaviour across platforms. Thank you for pointing this out!

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

2 participants