1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-07 14:11:36 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices
José Rebelo 58d4ebf509 Huami: Refactor activity data fetching
Activity data fetching on Huami devices was filled with duplicated code,
and the handleActivityFetchFinish was called from multiple places where
it did not make sense. This made us signal to the band that activity
fetch was finished when it sometimes was not, causing some race
condititions that would make activity fetch fail or get stuck.

This refactor defines a clear "processBufferedData" that is called
upstream, signaling to the fetch operation that we have received all
data and the buffer can be processed. All handling of metadata and ack
messages is also delegated to the upstream class.
2024-02-25 13:10:25 +00:00
..
amazfitbip Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
asteroidos Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
banglejs Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
binary_sensor Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
casio Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
cmfwatchpro Nothing CMF Watch Pro: Initial support 2024-01-28 18:46:13 +00:00
divoom Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
domyos Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
femometer Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
fitpro Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
flipper/zero Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
galaxy_buds Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
hplus Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
huami Huami: Refactor activity data fetching 2024-02-25 13:10:25 +00:00
huawei [Huawei] Hookup smart wakeup interval and update Coordinators 2024-02-24 09:56:56 +01:00
id115 Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
itag Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
jyou Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
lefun Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
lenovo Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
liveview Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
makibeshr3 Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
miband Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
mijia_lywsd Mijia MHO-C303: Initial support 2024-01-17 17:55:15 +00:00
miscale2 Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
no1f1 Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
nothing Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
nut Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
pebble Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
pinetime Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
qc35 Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
qhybrid Fossil/Skagen Hybrids: Use steps instead of calories for activity intensity 2024-02-23 20:54:49 +01:00
roidmi Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
smaq2oss Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
soflow Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
sony Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
sonyswr12 Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
supercars Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
test Fix bugs, cleanup, test device 2024-02-24 09:56:56 +01:00
tlw64 Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
um25 Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
vesc Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
vibratissimo Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
vivomovehr Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
waspos Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
watch9 Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
withingssteelhr Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
xiaomi Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
xwatch Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
zetime Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
AbstractBLClassicDeviceCoordinator.java Xiaomi: introduce XiaomiSppSupport 2024-01-17 20:16:38 +00:00
AbstractBLEDeviceCoordinator.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractDeviceCoordinator.java Add smart wakeup interval 2024-02-24 09:56:56 +01:00
AbstractSampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractSampleToTimeSampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AbstractTimeSampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
DeviceCoordinator.java Add smart wakeup interval 2024-02-24 09:56:56 +01:00
DeviceManager.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
EventHandler.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
InstallHandler.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
SampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
TimeSampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
UnknownDeviceCoordinator.java Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00