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
Guard running SetClientConnectionState while in a state that requires a full reconnection cycle #44
This will prevent the connection stack being stuck in a loop.
Ex: Set the state to idle while disconnected