Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/huami
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
..
amazfitactive Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitactiveedge Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitbalance Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitband5 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitband7 Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitbip Huami: Extract activity fetch data types to enum 2024-02-25 13:10:25 +00:00
amazfitbip3pro Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitbip5 Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitbips Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitbipu Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitbipupro Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitcheetahpro Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitcheetahround Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitcheetahsquare Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitcor Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitcor2 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitfalcon Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitgtr Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitgtr2 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitgtr3 Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitgtr3pro Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitgtr4 Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitgtrmini Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitgts Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitgts2 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitgts3 Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitgts4 Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitgts4mini Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitneo Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitpop Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitpoppro Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfittrex Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfittrex2 Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfittrexpro Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfittrexultra Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
amazfitvergel Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
amazfitx Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
miband2 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
miband3 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
miband4 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
miband5 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
miband6 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
miband7 Zepp OS: Match devices by exact bluetooth name 2024-02-01 18:47:36 +00:00
zeppe Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
zeppos Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
ActivateDisplayOnLift.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
ActivateDisplayOnLiftSensitivity.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
AlwaysOnDisplay.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
DisconnectNotificationSetting.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
Huami2021Service.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HuamiActivitySummaryParser.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HuamiConst.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HuamiCoordinator.java Add more granular smart wakeup support 2024-02-18 17:24:29 +01:00
HuamiExtendedSampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HuamiFWHelper.java Zepp OS: Refactor firmware uploads 2024-02-01 18:47:28 +00:00
HuamiHeartRateManualSampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HuamiHeartRateMaxSampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HuamiHeartRateRestingSampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HuamiPaiSampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HuamiService.java Huami: Refactor activity data fetching 2024-02-25 13:10:25 +00:00
HuamiSettingsCustomizer.java Nothing CMF Watch Pro: Initial support 2024-01-28 18:46:13 +00:00
HuamiSleepRespiratoryRateSampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HuamiSpo2SampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HuamiStressSampleProvider.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
HuamiWeatherConditions.java Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00