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

Loss of synchronisation #49

Open
ashesman opened this issue Aug 16, 2019 · 0 comments
Open

Loss of synchronisation #49

ashesman opened this issue Aug 16, 2019 · 0 comments

Comments

@ashesman
Copy link

ashesman commented Aug 16, 2019

Devices get out of sync with their bluez counterparts. For instance I just had it so that is_services_resolved() would immediately return true and the services_resolved event was never triggered on the device. After a 'sudo /etc/init.d/bluetooth restart', the problem went away. The Adafruit Bluefruit LE library offers a clear_cache function to help with this same issue.

To expand a bit, is_services_resolved() returned true but the services list of the device was empty.

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