getsenic/gatt-python

Loss of synchronisation

ashesman opened this issue · 0 comments

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.