Commit Graph
13355 Commits
Author SHA1 Message Date
José Rebelo f4ac744b3b Intent API: Add command to set device type 2025-04-23 19:44:53 +01:00
José Rebelo a47bc81eb2 Garmin Edge 130 Plus: Update supported features 2025-04-23 19:31:53 +01:00
José Rebelo 07a5d10b23 Garmin Edge 130 Plus: Initial support 2025-04-22 22:21:04 +01:00
Thomas Kuehne d5c632f243 fix to ensure targetCompatibility is effective for Android
PR #4735 inadvertently turned Android's targetCompatibility into Java's targetCompatibility thereby rendering it ineffective for Android.
As a result Android used the toolchain version (17) instead of targetCompatibility 1.8 to create *.class files.
See also: https://developer.android.com/build/jdks
2025-04-22 18:49:37 +02:00
José Rebelo f78d6b914e Zepp OS: Fix zip files being wrongly recognized as AGPS 2025-04-20 11:23:14 +01:00
Thomas Kuehne 0c415334da Ultrahuman: code review 2025-04-20 01:36:50 +02:00
Thomas Kuehne 205010b24b remove no-longer needed GenericHrvSummarySample 2025-04-20 01:26:54 +02:00
Thomas Kuehne ff761cf1e4 Ultrahuman optimizations
- fetch only new records instead of all records while the device is connected
- added PREF_POWER_SAVING support (disables / enables SpO2 sensing)
- added HRV visualization
- unified and secured Intent handling
- added BATTERY_CHARGING_FULL support
- honour PREF_TIME_SYNC in onSetTime
- various clean-ups
2025-04-20 01:12:57 +02:00
José Rebelo 956e9cc4ba woodpecker: Update android-fdroid-tools to 35.0.1-androguard-4.1.2 2025-04-19 23:37:27 +01:00
José Rebelo 8deea74d67 Allow support classes to vary by GBDevice
This paves the way for configurable btle / btbr support class for the
same device (eg. Zepp OS / Huawei / Xiaomi), as well as migration to a
new support class for future pebble devices.
2025-04-19 20:19:25 +01:00
José Rebelo 2e1529f374 Garmin Fenix 7X Pro: Initial support 2025-04-19 13:37:35 +01:00
José Rebelo d02455b0bd Garmin Vívoactive HR: Initial support 2025-04-19 13:05:05 +01:00
José Rebelo 29670aaea4 Zepp OS: Extract heart rate and steps to standalone services 2025-04-18 22:31:59 +01:00
José Rebelo 31d4b0d354 Zepp OS: Isolate time sync and hr interval from HuamiSupport 2025-04-18 18:09:31 +01:00
José Rebelo 99af334280 Zepp OS: Fix crash on display items settings 2025-04-18 17:39:11 +01:00
José Rebelo 694b98d425 Zepp OS: Extract workout to standalone service 2025-04-18 17:39:02 +01:00
José Rebelo c168c554fb Huami: Refactor fetching
Remove all dependencies on BLE from the activity fetching logic, so that
it can eventually be reused in btrfcomm devices.
2025-04-18 14:16:42 +01:00
José Rebelo 91b9331de3 Remove protobuf and buildconfig generated source directories
This partially reverts 26999c863, which does not seem to be needed
anymore, and breaks the build as of c7f236790 when multiple build
flavors are built without cleaning the build directory.
2025-04-17 23:25:04 +01:00
dependency-botandJosé Rebelo 54961bbf25 Update dependency com.google.code.gson:gson to v2.13.0 2025-04-17 21:16:28 +00:00
timkriefandJosé Rebelo 4e4ef48deb Adding application names to zepp os (#4713)
Co-authored-by: timkrief <timkrief@noreply.codeberg.org>
Co-committed-by: timkrief <timkrief@noreply.codeberg.org>
2025-04-17 21:05:48 +00:00
Thomas KuehneandJosé Rebelo db0d66d64c backport upstream BouncyCastle fixes
aligned with bcgit/bc-java@8b4326f247 :
- Explicitly set IV to zeros when no ParametersWithIV bcgit/bc-java@7c40b52f13
- Fix CCM input length check bcgit/bc-java@e73dbc53db
- pr-1775 fix incrementCounter bcgit/bc-java@7ad116c692
2025-04-17 21:04:15 +00:00
dependency-botandJosé Rebelo b176db69bf Update dependency androidx.activity:activity to v1.10.1 2025-04-17 19:47:23 +00:00
dependency-botandJosé Rebelo 65c02be843 Update dependency androidx.recyclerview:recyclerview to v1.4.0 2025-04-17 19:43:36 +00:00
dependency-botandJosé Rebelo 6d301bfdae Update dependency androidx.gridlayout:gridlayout to v1.1.0 2025-04-17 19:36:28 +00:00
José Rebelo f8e5e5b4dd woodpecker: Update android-fdroid-tools to 35.0.1 2025-04-17 19:31:55 +01:00
José Rebelo 71cc6b6015 Vesc: Deprecate DeviceType constructor 2025-04-17 19:29:51 +01:00
José Rebelo e1e5cccf29 HPlus: Deprecate DeviceType constructor 2025-04-17 19:18:58 +01:00
José Rebelo 08732ffa68 Renovate: Ignore MPAndroidChart
Renovate is unable to resolve dependencies from jitpack, and there has
not been a release in 4 years anyway.
2025-04-17 19:16:35 +01:00
Thomas KuehneandJosé Rebelo c7f236790a Upgrade Gradle from 8.10.2 to 8.13
includes prerequisites:
- pcom.android.tools.build update from 8.6.1 to 8.9.1
- compileSdk update from 34 to 35 (targetSdk and minSdk are unchanged)
- .gradle and .java housekeeping fixes to reduce build warnings
2025-04-17 18:16:10 +00:00
Severin von Wnuck-LipinskiandJosé Rebelo aa573ad6b7 Enable battery reporting for Moondrop Space Travel 2025-04-17 17:45:23 +00:00
José Rebelo dcebe5f4c1 update changelog, bump version 0.85.0 2025-04-17 18:07:00 +01:00
ssantosandHosted Weblate 79dad0ae31 Translated using Weblate (Portuguese)
Currently translated at 64.2% (2438 of 3793 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pt/
2025-04-17 19:03:17 +02:00
Christian ThieleandHosted Weblate 63c9d6c6c9 Translated using Weblate (German)
Currently translated at 100.0% (3793 of 3793 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2025-04-16 08:54:19 +02:00
Daniele Gobbetti 853bdd58ab Add OS battery level to DeviceCoordinator and BluetoothStateChangeReceiver
Add OS Battery Level detection to BluetoothStateChangeReceiver, pass the event to devices only if their coordinator class declares support for it.
Add supportsOSBatteryLevel() to DeviceCoordinator and AbstractDeviceCoordinator defaulting to false.

Change coordinator of GenericHeadphones to return true for supportsOSBatteryLevel() and remove specific BroadcastReceiver from the support class.
2025-04-16 08:49:33 +02:00
José Rebelo 1aa156d433 NotificationListener: Fix some NPEs 2025-04-15 20:10:45 +01:00
diskaczandHosted Weblate 9af654800b Translated using Weblate (Polish)
Currently translated at 100.0% (3793 of 3793 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2025-04-14 21:09:58 +02:00
Yaron ShahrabaniandHosted Weblate 5771de914f Translated using Weblate (Hebrew)
Currently translated at 77.3% (2932 of 3793 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2025-04-14 21:09:58 +02:00
Christian ThieleandHosted Weblate cb3b1130b8 Translated using Weblate (German)
Currently translated at 100.0% (3793 of 3793 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2025-04-14 21:09:58 +02:00
José Rebelo 33aaec7300 Sony Headphones: Do not crash on invalid battery config
These can now be selected from preferences, which will make Gb crash on
startup if users make a mistake during configuration, so avoid crashing.
2025-04-14 20:09:52 +01:00
Daniele Gobbetti 9b873ada7e fixup! Ignore invalid battery level updates
fix typo: level 100 is a valid battery level
2025-04-14 15:38:32 +02:00
José Rebelo f567d963d3 Zepp OS: Reset MTU before initialization
Fixes regression introduced by 732cbd9b1, which partially reverted #3219
by accident.
2025-04-13 18:38:36 +01:00
José Rebelo c539fe50ba Update changelog 2025-04-13 16:26:04 +01:00
Ghost of SpartaandHosted Weblate 3e26232e22 Translated using Weblate (Hungarian)
Currently translated at 100.0% (3793 of 3793 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2025-04-13 15:24:31 +00:00
Christian ThieleandHosted Weblate 50e0c8daf8 Translated using Weblate (German)
Currently translated at 100.0% (3793 of 3793 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2025-04-13 15:24:29 +00:00
FjuroandHosted Weblate f0557896e3 Translated using Weblate (Czech)
Currently translated at 100.0% (3793 of 3793 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2025-04-13 15:24:28 +00:00
陈少举andHosted Weblate f9f1ef342e Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (3793 of 3793 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2025-04-13 14:38:26 +02:00
Yaron ShahrabaniandHosted Weblate 6f2f2e6249 Translated using Weblate (Hebrew)
Currently translated at 77.0% (2922 of 3793 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/he/
2025-04-13 14:38:26 +02:00
Christian ThieleandHosted Weblate b2e71db5e6 Translated using Weblate (German)
Currently translated at 99.9% (3791 of 3793 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2025-04-13 14:38:26 +02:00
FjuroandHosted Weblate 57a6b71f0f Translated using Weblate (Czech)
Currently translated at 100.0% (3791 of 3791 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2025-04-13 14:38:26 +02:00
José Rebelo 678d067004 Amazfit Bip 6: Add device sources 2025-04-13 13:38:18 +01:00