Fitbit / bitgatt

The FitbitGatt API is designed to provide a strong state machine around all Android gatt operations with the aim of making Android BLE development across Android vendors as straightforward and side-effect free as possible.
Mozilla Public License 2.0
57 stars 17 forks source link

Prevent flapping and correct binder callback issue #7

Closed irvinowens closed 5 years ago

irvinowens commented 5 years ago

There was a problem where we would deliver gatt server callbacks on a binder thread, this PR corrects that issue

There were scenarios where a rogue application could toggle bluetooth aggressively causing multiple on callbacks to be delivered in rapid succession, this attempts to prevent these issues.