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

Pending intent scan can consume gatt_if #18

Closed irvinowens closed 5 years ago

irvinowens commented 5 years ago

Fixes # internal bug

description

If a user tries to start a second pending intent scan without first cancelling an existing pending intent scan bitgatt should try to cancel it first, even if the process has been newly brought back up.

This should limit the additional gatt_if consumption to only a single one

changes

how tested

Tested with Guccigatt on a Pixel XL 3 on Android 10