1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-27 23:40:31 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service
cpfeiffer 6282597790 Handle BT issues with discovered characteristics
It occurred to me that onServicesDiscovered() was called multiple times
whenever I connected to my Mi Band 2. Either the band actually sent the
characteristics in multiple chunks or Android itself notified multiple
times.

So we gracefully handle this by
- updating the list of characteristics
- *not* initializing the device again when it *is* already initialized
or at least initializing.
2017-03-09 22:49:13 +01:00
..
btle Handle BT issues with discovered characteristics 2017-03-09 22:49:13 +01:00
devices Mi2: support for updating firmware fonts (*.ft, *.ft.en) 2017-03-07 23:26:41 +01:00
receivers Some key events were not working with the default audio player. Reported in #322 2016-06-15 22:15:21 +02:00
serial Centralize icons for devices 2017-02-26 22:46:49 +01:00
AbstractDeviceSupport.java Make DeviceCommunicationServiceTestCase runnable with robolectric 2016-09-10 11:12:51 +02:00
DeviceCommunicationService.java Drop support for legacy (pre 0.12.0) database 2017-02-23 22:44:44 +01:00
DeviceSupport.java Make automatic reconnect after connection loss configurable #293 2016-04-28 23:17:13 +02:00
DeviceSupportFactory.java HPlus: Support of Makibes F68 and small fixes to HPlus devices 2017-01-26 13:02:58 +00:00
ServiceDeviceSupport.java Pebble: remove notifications when dismissed on the phone (#326) 2017-01-09 16:33:00 +01:00