Commit Graph
13497 Commits
Author SHA1 Message Date
Thomas KuehneandJosé Rebelo 111b705963 add missing @Override annotations 2025-08-11 21:41:25 +02:00
José Rebelo a4fe2bbd4d Polar H9: Initial support 2025-08-11 19:22:14 +01:00
José Rebelo 28fb5732a6 Remove redundant "Activity" group in activity details 2025-08-11 19:12:16 +01:00
José Rebelo 221add17f1 Garmin: Relabel total ascent / descent 2025-08-11 19:11:37 +01:00
Daniele Gobbetti cfaedb1eba Garmin: fix usage of spurious static variable 2025-08-11 15:04:35 +02:00
José Rebelo eef224ca4e Garmin: Set alarms from phone 2025-08-10 23:16:09 +01:00
jrthomas270andJosé Rebelo d6daab8d0d Even Realites G1: Support Notifications and improve disconnections
This change helps improve the connection experience when GadgetBridge is
working as a background task. The glasses must be send a heartbeat
packet every 32 seconds, otherwise they will disconnect. When
GadgetBridge is running in the background there is a 15-20 second delay
between the background handler waking up. This means that when the wake
up time is sceduled for 30 seconds, it often won't be woken up for 45-50
seconds leading to almost immediate disconnect after the user turns off
the screen. The official app gets around this by using a 5 second delay
leading to ~25 seconds of delay in sleep mode, but this over sends when
the phone is awake. Instead of doing that, I maintain the 28 second
delay but I change the background thread to a higher priority so that it
more consistently wakes up within th 32 second BLE limit.

Also added support for Notifications being sent to the glasses.
2025-08-10 22:34:56 +02:00
José RebeloandJosé Rebelo 67613a321c Garmin: Fix activity samples off by 1 minute 2025-08-10 21:11:40 +02:00
José Rebelo 2672295dfc Add ProtobufExtensions 2025-08-10 20:10:28 +01:00
Thomas Kuehne bb710bae92 fix: BatteryInfoProfile complaining about unexpected characteristics 2025-08-10 18:16:58 +02:00
José Rebelo 12b9b8a1c0 Shokz: Multipoint pairing 2025-08-10 00:22:24 +01:00
Me7c7andJosé Rebelo a85c895adf Huawei: Some code cleanups and fixes 2025-08-09 18:13:37 +02:00
Thomas Kuehne 6966f80f3d ble: use UUID version of TransactionBuilder.read/write/notify (#5222)
Using the UUID version instead of BluetoothGattCharacteristic version ensures that, if a characteristic is missing on the gadget GB actually logs what characteristic is missing.
2025-08-09 18:05:22 +02:00
Me7c7 f497c59744 Huawei: Annotate @NotNull acording to latest refactoring 2025-08-09 17:39:18 +03:00
Thomas Kuehne 5fa2372fce DeviceCoordinator: add missing device argument and @NonNull annotation for all supports[...] methods (#5214) 2025-08-09 11:17:10 +02:00
Me7c7 d932697b24 Huawei: fix spo2 type according to latest refactoring. 2025-08-08 12:45:40 +03:00
Me7c7 40082f2212 Huawei: fix start timestamp for sleep sync 2025-08-08 10:51:29 +03:00
José Rebelo 1677b31f45 Amazfit Active 2 Square: Update device sources 2025-08-07 22:55:48 +01:00
ad0z 097874f321 Blood oxygen: fragment refactor 2025-08-07 23:01:14 +02:00
José Rebelo 573134a7cd Garmin: Persist SpO2 measurement type 2025-08-07 19:07:01 +01:00
Me7c7 f0b6d874bc Huawei: emotion enable/disable support 2025-08-07 14:04:08 +03:00
José Rebelo dd8e6533ea Colmi P80: Initial support 2025-08-06 21:39:15 +01:00
José Rebelo 912c0f1299 Blackview R60: Initial support 2025-08-06 21:36:15 +01:00
Me7c7andJosé Rebelo c6f8701ba6 icons: Replace some png icons with svg 2025-08-06 19:19:23 +02:00
José Rebelo ff42c5568c Improve logging when connecting to scannable or unknown devices 2025-08-06 18:17:55 +01:00
Thomas Kuehne 696a7c73a5 ble: improve error logging in TransactionBuilder.notify(UUID, boolean) 2025-08-06 05:10:50 +02:00
Thomas Kuehne 3ba16cb38e icons: refresh further icons from the "Material Symbols" set 2025-08-05 22:21:19 +02:00
Thomas KuehneandJosé Rebelo 5d9d547250 icons: add icons for Settings / Automations 2025-08-05 21:44:29 +02:00
Thomas KuehneandJosé Rebelo 6634302353 implement getAllDeviceDao to delete device specific data when deleting the device 2025-08-05 21:40:21 +02:00
Julian RaufelderandJosé Rebelo a680a819fd Add Garmin Edge 540 2025-08-05 20:13:13 +02:00
José Rebelo b748c31116 Do not finish activity when pairing unsupported device 2025-08-05 19:11:40 +01:00
José Rebelo 68f9a2ebc4 Restore android-emojify
jemoji is failing to load

- This reverts commit dfc20ca8b7.
- This reverts commit 8c98a81ba5.
- This reverts commit a00da2ee25.
2025-08-04 22:33:35 +01:00
José Rebelo 742fccacec Simplify disabling permissions request screen
- Move the preference from developer to general settings
- Add a "do not ask again" button (with a warning), but only when the
  permission check is triggered on startup
2025-08-04 21:35:13 +01:00
José Rebelo c4f2468de1 Mi Band 10: Fix swimming workout parsing 2025-08-04 20:15:43 +01:00
Me7c7 a9dc816000 Huawei: fix icons for stress and spO2 alert 2025-08-04 13:28:35 +03:00
Thomas KuehneandJosé Rebelo 9ef4a5881a icons: use distinctive icons for weather and package names 2025-08-03 23:40:07 +02:00
Thomas KuehneandJosé Rebelo cff19b3959 icons: use a distinctive icon for track color 2025-08-03 23:39:55 +02:00
Thomas KuehneandJosé Rebelo 9d110b99eb icons: use a material icon for "donation" 2025-08-03 23:39:44 +02:00
Thomas KuehneandJosé Rebelo a38d9056d4 strings: use standardized straight quotes " and en dash – (#5112)
also cleanup left-over quotes " from string.xml creation
2025-08-03 23:37:07 +02:00
José Rebelo 6c188910bb Remove DeviceCommunicationServiceTestCase
Remove some tests that were mostly mocks, which are now failing as of e0c043d83

The current architecture is not easily testable, and would require too
many / hacky mocks to get these tests working.
2025-08-03 22:33:50 +01:00
José Rebelo 3e036929cc Settings: Add search 2025-08-03 20:33:11 +01:00
José Rebelo 646f918ce5 Make device types not translatable (#5108) 2025-08-03 14:46:21 +01:00
José Rebelo f0e981525e Fix some wrong devicetype names 2025-08-03 14:18:30 +01:00
diskaczandHosted Weblate 15167ae820 Translated using Weblate (Polish)
Currently translated at 100.0% (4130 of 4130 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2025-08-03 12:58:19 +00:00
Deleted UserandHosted Weblate 61d5df2b1f Translated using Weblate (Ukrainian)
Currently translated at 100.0% (4129 of 4129 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2025-08-03 12:58:18 +00:00
Deleted UserandHosted Weblate e1bedfabe7 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (4129 of 4129 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2025-08-03 12:58:17 +00:00
Максим ГорпинічandHosted Weblate 7dac3b994b Translated using Weblate (Ukrainian)
Currently translated at 100.0% (4129 of 4129 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2025-08-03 12:58:16 +00:00
FjuroandHosted Weblate 55e509185d Translated using Weblate (Czech)
Currently translated at 100.0% (4129 of 4129 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2025-08-03 12:58:15 +00:00
Максим ГорпинічandHosted Weblate 5b909dca0c Translated using Weblate (Ukrainian)
Currently translated at 100.0% (4129 of 4129 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2025-08-03 12:58:13 +00:00
diskaczandHosted Weblate e8a9fdc346 Translated using Weblate (Polish)
Currently translated at 100.0% (4119 of 4119 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/pl/
2025-08-03 12:58:12 +00:00