1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-24 09:35:50 +01:00
Commit Graph

12362 Commits

Author SHA1 Message Date
Gordon Williams
9a962bd495 Bangle.js: Support sending activity type from Bangle (#4323) 2024-12-05 09:31:07 +00:00
Simon Brand
6c7649264f Huawei: add Huawei Band 2 (Pro) 2024-12-05 07:00:08 +00:00
José Rebelo
d850439b4e Fix sleep score for current day 2024-12-05 06:56:14 +00:00
José Rebelo
7a4fb57646 Update changelog 2024-12-04 19:04:55 +00:00
José Rebelo
2b4493eeb7 Oppo Headphones: Fix decoding of concatenated responses 2024-12-04 18:50:44 +00:00
José Rebelo
12671fb1e0 Oppo Enco Air2: Fix firmware parsing 2024-12-04 18:35:29 +00:00
Aike Seiko
6e3ce50221 Xiaomi: Print log message if cmd.hasSystem() returns true, otherwise cmd.getSystem() would not work in the first place. 2024-12-04 18:13:52 +00:00
Aike Seiko
b8990ecc31 Xiaomi: Add support for activating DND from watch 2024-12-04 18:13:52 +00:00
Aike Seiko
f8ebe19d4b Xiaomi: Add support to for command CMD_FIND_WATCH 2024-12-04 18:13:52 +00:00
Aike Seiko
9d5a02b0bf Fix typo in alarmClockRining lead to multiple field definitions 2024-12-04 18:12:18 +00:00
a0z
c3433f55cb Add sleep score to sleeping tabs for supported devices 2024-12-04 18:03:37 +00:00
Aike Seiko
51a3b5d036 MiBand9: Fix parsing of IndoorCycling 2024-12-04 17:22:51 +00:00
Arjan Schrijver
368cd88146 Colmi R0x: Add support for Colmi R09 2024-12-04 16:08:35 +01:00
Arjan Schrijver
98e9a0dbf0 Fossil/Skagen Gen. 6 Hybrids: Add SpO2 watchface widget 2024-12-04 14:34:39 +01:00
a0z
6a68071702 Workout page: hr zones add colors 2024-12-03 22:44:32 +00:00
José Rebelo
9748f389dd Xiaomi-protobuf: Fix activity sync stuck on duplicated or invalid files
Ref: #4305
2024-12-03 21:04:30 +00:00
MrYoranimo
44d50e6246 Xiaomi: implement requesting chunks for incomplete transactions
When using characteristics for communication with a Xiaomi protobuf
device, a chunked transaction could be sent out-of-sequence or
incomplete, which would result in either a corrupted payload or the
characteristic to halt because the device would not receive an
acknowledgement.

This changeset implements a map to store the received chunk data and
sequence number, that allows us to reassemble the payload in sequence
after confirming having received all chunks for the transaction. A list
of missing chunks is sent to the device if not all chunks have been
received and 5 seconds have passed since the last chunk was sent.
2024-12-03 19:23:26 +00:00
AndrewP
11ac1ed8bf Xiaomi: More workout types 2024-12-03 18:27:27 +01:00
Me7c7
5e81d1e4a2 Fix temperature layout 2024-12-02 08:58:28 +02:00
Me7c7
2a1e8e8651 Huawei: Obsolete temperature measurement description removed 2024-12-02 08:51:09 +02:00
Me7c7
922c4a19a9 Continuous temperature chart. 2024-12-02 08:51:09 +02:00
José Rebelo
92f1715b09 Hide respiratory rate tab if not supported 2024-12-01 19:12:27 +00:00
Me7c7
609a673dae Huawei: Little cleanups in P2P service 2024-12-01 17:57:27 +02:00
Me7c7
ed49f6d323 Huawei: Allow to sync more data over Dict P2P service 2024-12-01 17:48:45 +02:00
José Rebelo
86b51683d2 Respiratory rate: Swap awake and sleep order 2024-12-01 13:06:25 +00:00
José Rebelo
2e6552e3d5 Zepp OS: Fix respiratory rate being detected as awake 2024-12-01 13:06:25 +00:00
a0z
53ccae347d Respiratory rate: remove unused string, fix disappearing tabs bug 2024-12-01 13:06:25 +00:00
a0z
7e454a17ba Respiratory rate: use label, not value in tabs selection 2024-12-01 13:06:25 +00:00
a0z
a11f6871cd Respiratory rate: fix strings, margins, missing data on chart 2024-12-01 13:06:25 +00:00
a0z
9ae56ae88c Respiratory rate: init 2024-12-01 13:06:25 +00:00
Me7c7
7edb1f5941 Huawei: Added selecting for more than one item for music management 2024-12-01 13:03:23 +00:00
AndrewP
16a8efb7ee More workout types and parser for rowing and for treadmill 2024-12-01 13:00:43 +00:00
AndrewP
b5edfd8c17 A few additions and changes for Xiaomi Workouts 2024-12-01 13:00:43 +00:00
Benjamin Swartley
4f30648886 Fossil/Skagen Gen. 6 Hybrids: Add SpO2 Support 2024-11-30 15:45:45 -05:00
gjaekel
b3f29d16b3 Add support for XIAOMI Smart Band 9 Pro (MiBand9Pro) (#4363)
Co-authored-by: gjaekel <gjaekel@noreply.codeberg.org>
Co-committed-by: gjaekel <gjaekel@noreply.codeberg.org>
2024-11-29 22:24:52 +00:00
Martin.JM
55014fd13a Huawei: Fix notifications for Huawei Band 3 pro 2024-11-29 13:37:54 +01:00
Jonathan Gobbo
287a759e28 Add support for Redmi Buds 5 Pro (#4343)
This PR introduces support for the Redmi Buds 5 Pro earbuds.

Working:

- Connection and authentication;
- Firmware version;
- Battery percentage;
- Switching between ANC/Transparency/OFF, their relative strength settings and Adaptive ANC toggle;
- Configuring all touch options;
- Ear detection play/pause, Auto call answer, Double connection, Adaptive sound settings toggles;
- Equalizer presets and custom curve;

Not working:

- Personalized ANC (code for toggle is present but commented-out, as the logic for ear calibration is missing);
- Spatial Audio
- Find my earbuds
- Firmware Update

Closes #3566

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4343
Co-authored-by: Jonathan Gobbo <jonathangobbo@outlook.it>
Co-committed-by: Jonathan Gobbo <jonathangobbo@outlook.it>
2024-11-28 18:16:17 +00:00
José Rebelo
9270bd9003 Oppo Enco Air2: Initial support 2024-11-27 22:43:42 +00:00
José Rebelo
93ed525a93 Garmin: Map missing realtime settings phone icon 2024-11-27 22:31:57 +00:00
Me7c7
f9d157ad51 Huawei: Allow more languages to be set on the watch 2024-11-27 19:20:19 +02:00
Me7c7
5a025d8d99 Huawei: Display maximum oxygen uptake if available 2024-11-26 21:54:02 +00:00
Me7c7
7b8f02ec29 Huawei: Collect and process more workout data: HRZones, RunPaceZones 2024-11-26 21:54:02 +00:00
Martin.JM
48a6e1aa95 Huawei: Fix for encrypted file downloads
Necessary for the Huawei Band 3 Pro GPS download.
2024-11-26 21:39:14 +00:00
Martin.JM
5e62bd3cc6 Huawei: Mark downloaded GPS file as complete only after parsing
Otherwise the icon does not show up in the workout list properly at
first.
2024-11-26 21:39:14 +00:00
Martin.JM
8746577c4e Huawei: Split off SyncState 2024-11-26 21:39:14 +00:00
Martin.JM
9970a37df3 Huawei: Use queue for downloading activity data
This also makes the sync button download both the activity and workout
data.
2024-11-26 21:39:14 +00:00
Martin.JM
3562eb69d0 Huawei: Add P2P to SyncState 2024-11-26 21:39:14 +00:00
Martin.JM
8bfbc07a45 Huawei: Cleanup of the HuaweiSupportProvider
Removes a lot of duplicate TODOs that mostly clutter the overview.

Also includes a couple of changes to please the linter.
2024-11-26 21:39:14 +00:00
José Rebelo
ee8eeaf16f Garmin: Improve logging if notification picture is not found 2024-11-26 21:28:08 +00:00
Me7c7
fab6a7bc7f Huawei: Fix encryption logic for files upload 2024-11-26 19:03:01 +02:00