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

Question:is it possible to de-register for notifications? #29

Closed
Jeroen88 opened this issue May 1, 2020 · 2 comments
Closed

Question:is it possible to de-register for notifications? #29

Jeroen88 opened this issue May 1, 2020 · 2 comments

Comments

@Jeroen88
Copy link

Jeroen88 commented May 1, 2020

Is it possible to de-register for notifications? Or is it sufficient to deconnect?

@h2zero
Copy link
Owner

h2zero commented May 1, 2020

If you want to unregister for notifications it's just like the old library, you call registerForNotify(NULL).
Disconnect will also unregister if you have not bonded with the device.

@Jeroen88
Copy link
Author

Jeroen88 commented May 1, 2020

Thank you so much!

@Jeroen88 Jeroen88 closed this as completed May 1, 2020
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