1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-02-11 17:36:48 +01:00

12023 Commits

Author SHA1 Message Date
Arjan Schrijver
16be930874 Moyoung: Modernize classes and methods and fix compiler errors 2025-02-08 20:57:46 +01:00
Arjan Schrijver
b34f7c5477 Rename DaFit references to Moyoung to reflect the protocol used 2025-02-08 20:57:46 +01:00
krzys-h
13fd0a0a50 Da Fit: Setting alarms 2025-02-08 20:57:46 +01:00
krzys-h
0ade1feef5 Da Fit: Training data transfer 2025-02-08 20:57:46 +01:00
krzys-h
6624f868e1 Da Fit: Add device settings 2025-02-08 20:57:46 +01:00
krzys-h
8f69299b80 Da Fit: Add weather sync 2025-02-08 20:57:46 +01:00
krzys-h
06e42251a6 Da Fit: Add activity fetching and logging 2025-02-08 20:57:46 +01:00
krzys-h
d48259568c Da Fit: Add handling of heart rate, blood pressure and oxidation measurements 2025-02-08 20:57:46 +01:00
krzys-h
58b6d57d15 Da Fit: Add notification support 2025-02-08 20:57:45 +01:00
krzys-h
a349d526cf Da Fit: Add time sync 2025-02-08 20:57:45 +01:00
krzys-h
5fcbd6d728 Da Fit: Add device support, reverse engineering notes and base protocol implementation 2025-02-08 20:57:45 +01:00
José Rebelo
feb5134b5d App Manager: Fix hiding fab if flashing not supported 2025-02-08 17:21:02 +00:00
José Rebelo
398e140b31 Garmin Forerunner 735XT: Initial support 2025-02-08 17:10:02 +00:00
José Rebelo
0a38a7a880 Fix race condition NPE on media session change
If the music session changes and then stops quickly, the getMetadata
call will not be null the 1st call, but would on the 2nd, which would
result in an NPE and subsequent crash in the device service.
2025-02-05 23:05:00 +00:00
Me7c7
63f5b2a025 Huawei: set supportsFlashing to true 2025-02-03 14:25:42 +02:00
Daniele Gobbetti
e2dd3fc7c3 Pebble: bring PebblePairingActivity in line with other dedicated activities for targetSdkVersion 34
See also fad092b6f8fc5187d863be1bb96e5d7c934ecf28
2025-02-03 12:27:40 +01:00
jrthomas270
2d6a7d3866 Even Realities: Add initial support for Even G1 Smart Glasses (#4553)
Co-authored-by: jrthomas270 <jrthomas270@noreply.codeberg.org>
Co-committed-by: jrthomas270 <jrthomas270@noreply.codeberg.org>
2025-02-02 16:59:39 +00:00
José Rebelo
c08285a356 Oppo Headphones: Retry battery requests if unknown status 2025-02-02 16:25:43 +00:00
dependency-bot
8a747f0774 Update dependency com.google.code.gson:gson to v2.12.1 2025-02-02 16:01:37 +00:00
John Vincent Corcega
7409349154 Ensure battery states are kept in their correct battery indices
Seems to have missed adding the index here, causing devices with multiple batteries (like that of wireless earbuds) to have incorrect states despite being set properly from their respective device support code.

Signed-off-by: John Vincent Corcega <git@tenseventyseven.xyz>
2025-02-02 15:59:11 +00:00
José Rebelo
6a397b9119 Zepp OS: Fix activity details parsing getting stuck 2025-02-02 15:54:20 +00:00
Me7c7
d9fd667e38 Huawei: fix tests 2025-01-31 21:26:53 +02:00
José Rebelo
769ceded1c Mi Band 9 Pro: Fix treadmill parsing 2025-01-31 19:01:01 +00:00
José Rebelo
f277fbe9e5 Sony WH-ULT900N: Initial support 2025-01-31 18:36:46 +00:00
José Rebelo
51fca72a43 Garmin Lily 2 Active: Initial support 2025-01-31 18:20:45 +00:00
Me7c7
fdea3b7955 Huawei: Parse more workout information. No UI. 2025-01-31 20:04:33 +02:00
trentsuzuki
02aa267e8f Fix AM and PM labels for 24h mode in the dashboard activity chart 2025-01-30 15:42:23 +00:00
Me7c7
cfceada4c5 Huawei: retrieve SpO2 data during workout. No UI. 2025-01-27 17:32:03 +00:00
Daniele Gobbetti
50fda01a56 Instantiate preview image only if not null
Prevents BitmapDrawable logging spam on android 15
2025-01-27 09:24:11 +01:00
José Rebelo
321d71da7a Xiaomi Smart Band 9 Active: Allow BOTH connection types 2025-01-26 14:37:00 +00:00
José Rebelo
cb5b475932 Xiaomi Smart Band 9 Active: Experimental support 2025-01-26 14:24:54 +00:00
José Rebelo
52ccb6109c Garmin: Allow fake OAuth 2025-01-26 14:12:42 +00:00
José Rebelo
96d07bb58a Garmin: Fix workouts step count
1 cycle = 2 steps. This is most likely true for other activities, but we
do not currently have a clear split (eg. strokes in rowing matches
cycles, but not in swimming).
2025-01-25 23:03:56 +00:00
José Rebelo
b49fe1730c Garmin: Add basic fit file viewer 2025-01-25 17:58:54 +00:00
José Rebelo
0fe05fe9b8 Fix NPE on activity card for devices that do not report steps 2025-01-25 17:52:08 +00:00
José Rebelo
84ac168494 Garmin: PRG upload and basic app management 2025-01-25 00:20:37 +00:00
José Rebelo
6d26fd9495 Garmin: Fix cycle unit per activity kind 2025-01-24 23:00:02 +00:00
José Rebelo
bcc6c23097 Garmin: Parse some swimming stats 2025-01-24 22:29:12 +00:00
Me7c7
b4dc1d2358 Huawei: More information before firmware installation 2025-01-24 20:21:04 +02:00
Me7c7
756d3b2fea Huawei: Simplify code, Correct encryption. 2025-01-24 19:29:37 +02:00
Me7c7
22f3b9c9af Huawei: app version increased 2025-01-24 19:28:39 +02:00
Me7c7
0e3d6dffd2 Huawei: initial firmware update support 2025-01-23 20:41:27 +02:00
José Rebelo
0f2d240402 SuperCars: Adopt device card custom action 2025-01-22 21:37:16 +00:00
José Rebelo
071f0296c9 Allow devices to declare custom actions 2025-01-22 21:36:31 +00:00
Daisy
624dc77bce fix: the logic for isOutsideNotificationTimes
It was reversed before.
2025-01-21 21:04:27 +00:00
José Rebelo
c2710c32ab Garmin: Fix GFDI message type if sequence number is included
Should fix #4522
2025-01-20 21:04:21 +00:00
José Rebelo
b220c94c6b Xiaomi-protobuf: Display unknown activity codes in UI 2025-01-20 20:57:21 +00:00
José Rebelo
ff6b8e56b1 Xiaomi-protobuf: Add HR zones progress bars 2025-01-20 20:51:31 +00:00
José Rebelo
0d8e270686 Xiaomi-protobuf: Map some missing freestyle workouts 2025-01-20 20:28:14 +00:00
Patrick Rudolph
033e263b6b HuaweiSupportProvider: Fix reconnect on AuthFailure
When authentication times out the gadget was slightly out of range.
Since communication was successfull a couple of seconds earlier try to
reconnect instead of just disconnect.

Fixes Huawei watches not automatically reconnecting during normal use.

Signed-off-by: Patrick Rudolph <rudolphpatrick05@gmail.com>
2025-01-20 18:54:56 +00:00