Commit Graph
13498 Commits
Author SHA1 Message Date
Thomas KuehneandJosé Rebelo c159a13a66 ble: support gadget initiated connections
The BluetoothDevice.ACTION_ACL_CONNECTED intent indicating gadget or Android imitated connections is not specific to Bluetooth Classic.
So make the GBPrefs.DEVICE_CONNECT_BACK setting available to both Bluetooth Classic and BLE.
2025-05-24 14:58:19 +02:00
trentsuzukiandJosé Rebelo 6d256262d5 Fix inconsistent sleep scores 2025-05-24 14:46:50 +02:00
trentsuzukiandJosé Rebelo 6a88e43ac6 Refactor sleep chart fragments 2025-05-24 14:46:50 +02:00
Thomas KuehneandJosé Rebelo bb2ba155cc ble: explicitly deal with GATT status 8, 129 and 133 in BtLEQueue.handleDisconnected 2025-05-24 14:40:23 +02:00
dependency-botandJosé Rebelo 088eb81fec Update dependency com.google.android.material:material to v1.12.0 2025-05-24 14:39:01 +02:00
dependency-botandJosé Rebelo dbe6aa9ad8 Update dependency org.json:json to v20250517 2025-05-24 14:25:12 +02:00
dependency-bot 17b2f4af01 Update dependency org.mockito:mockito-core to v5.18.0 2025-05-24 12:22:54 +00:00
Thomas KuehneandJosé Rebelo 9bb3279e67 UI: add icon for SpO2 measurement 2025-05-24 14:20:46 +02:00
dependency-botandJosé Rebelo 7309c01aed Update dependency androidx.fragment:fragment to v1.8.7 2025-05-24 14:18:49 +02:00
dependency-botandJosé Rebelo f74e7b6445 Update dependency gradle to v8.14.1 2025-05-24 14:18:28 +02:00
Thomas KuehneandJosé Rebelo e87779d7ea UI: additional activity icons 2025-05-24 14:10:29 +02:00
José Rebelo dcb6f6fa59 Huawei Watch Fit 4 / 4 Pro: Experimental support 2025-05-24 12:14:24 +01:00
Gordon WilliamsandJosé Rebelo 5805559e4d Added HTML-compatible xpath implementation for Bangle.js http requests as per https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4845#issuecomment-4588211 2025-05-23 21:49:45 +02:00
Me7c7andJosé Rebelo 127ce6e569 Huawei: added more info to details 2025-05-23 21:43:11 +02:00
Thomas KuehneandJosé Rebelo de4b59cdfc UI: add icon to the "About you" preferences 2025-05-23 21:40:38 +02:00
Thomas Kuehne b99e63104d UI: add icons for the "General settings" preferences 2025-05-23 20:21:27 +02:00
José Rebelo e84fdc9882 Garmin: Prevent infinite loop when fetching activity data 2025-05-21 21:14:55 +01:00
José Rebelo d2210265f3 Garmin: Fix checksum of concatenated fit files 2025-05-21 20:58:05 +01:00
José Rebelo ed732493e2 Garmin Forerunner 630: Initial support 2025-05-21 20:05:48 +01:00
Thomas KuehneandJosé Rebelo e9415f3350 ble: add per-device setting to request BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER 2025-05-21 20:51:14 +02:00
José RebeloandJosé Rebelo 8c59fdbd5b Bangle.js: Add support for insecure TLS and HTTP requests 2025-05-21 20:48:39 +02:00
Rengyr 73f13bce8c Add option to get version 2 weather data for BangleJS
Automatic weather data push is still version 1, but newly request to GB from BangleJS
can be made to request version 2 and optionally forecast data with custom binary encoding.
2025-05-20 18:57:24 +02:00
José Rebelo ce48b60e8d Garmin Edge Explore 2: Initial support 2025-05-19 23:06:29 +01:00
moragsandJosé Rebelo c4fe788d42 Fix Gadgetbridge not finding OpenTracks
See https://github.com/OpenTracksApp/OpenTracks/issues/2101.
2025-05-18 15:16:32 +00:00
José Rebelo 8f84f53344 Zepp OS: Improve loyalty cards logging 2025-05-18 14:12:51 +01:00
José Rebelo a9a56f11d8 Add broadcast package to device actions 2025-05-17 20:01:15 +01:00
Thomas KuehneandJosé Rebelo a83026b180 ble: BluetoothDevice.getAlias replaced getAliasName in Android 11 2025-05-17 14:52:14 +00:00
dependency-bot 9814ee74ac fix(deps): update protobuf to v4.31.0 2025-05-17 01:02:49 +00:00
Thomas KuehneandJosé Rebelo d646197107 ble: log names instead of numeric status and decode more BluetoothGattCallback status codes 2025-05-16 20:04:17 +00:00
Savely Krasovsky 221829cf53 feat: Garmin Instinct 3 Tactical support
(cherry picked from commit 9789cd6206e6b570d069beb64a15b9aad8bf81dc)
2025-05-16 02:00:08 +02:00
Thomas Kuehne 1033299122 ble: fix wrong Logger in performInitialized 2025-05-15 22:12:20 +02:00
Thomas KuehneandArjan Schrijver f22fa75770 BleGattClientSupport: add GATT_SUCCESS check 2025-05-14 20:38:44 +00:00
Thomas KuehneandArjan Schrijver 53c2fdce54 logging: wrong number of placeholders 2025-05-14 20:34:08 +00:00
Thomas Kuehne 8259592c49 logging: wrong class argument used for LoggerFactory.getLogger 2025-05-14 22:06:32 +02:00
Thomas KuehneandJosé Rebelo 67eff1e361 huami+pebble: replace deprecated writeCharacteristic and writeDescriptor 2025-05-13 19:38:53 +00:00
Thomas KuehneandJosé Rebelo 7733f7ed28 GattCallback: memory safe onDescriptorRead
Change the method signature of GattCallback.onDescriptorRead to be memory safe. See Android 13 (Tiramisu, API 33) documentation for background.

To be memory safe onDescriptorRead should always evaluate the `value` parameter, potential in combination with BLETypeConversions, and not use:
- BluetoothGattDescriptor.getValue
- BluetoothGattDescriptor.getIntValue
- BluetoothGattDescriptor.getFloatValue
- BluetoothGattDescriptor.getStringValue
2025-05-13 19:36:17 +00:00
Thomas Kuehne e1de7efa55 BleNamesResolver: add BluetoothProfile#STATE_... lookup 2025-05-13 20:39:40 +02:00
jrthomas270andJosé Rebelo 616e8977c6 Support Even Realities G1 Glasses as a Single Device
This change switches G1DeviceSupport from managing to individual devices
to using AbstractBTLEMultiDeviceSupport which allows it to manage both
BLE connections under a single support class. This also updates the
Pairing activity to make it much more reliable at bonding and pairing
both devices.
2025-05-11 15:26:37 +00:00
José Rebelo a1ffa0a9b2 Update changelog 2025-05-11 14:43:21 +01:00
José Rebelo e8b74a819d Remove unused string translations 2025-05-11 14:30:48 +01:00
José Rebelo 02acbb87a0 Fix lint report path
The DirectoryProperty was being interpolated directly to a string, which
would not result in a correct path.
2025-05-11 14:07:30 +01:00
José Rebelo e8f90b69f4 Remove outdated ultrahuman strings with invalid placeholders 2025-05-11 14:05:49 +01:00
Adolfo Jayme BarrientosandHosted Weblate 67ee52b7f2 Translated using Weblate (Catalan)
Currently translated at 38.1% (1468 of 3847 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ca/
2025-05-11 14:52:54 +02:00
Do you know my name?andHosted Weblate cbca4678c0 Translated using Weblate (Ukrainian)
Currently translated at 81.2% (3124 of 3847 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2025-05-11 14:52:54 +02:00
Ghost of SpartaandHosted Weblate 6bf318e9f2 Translated using Weblate (Hungarian)
Currently translated at 100.0% (3847 of 3847 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2025-05-11 14:52:54 +02:00
Do you know my name?andHosted Weblate 5a48f98afd Translated using Weblate (Ukrainian)
Currently translated at 80.3% (3086 of 3842 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2025-05-11 14:52:54 +02:00
abdelbasset jabraneandHosted Weblate ec8d0b36f4 Translated using Weblate (Arabic)
Currently translated at 86.9% (3339 of 3842 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ar/
2025-05-11 14:52:54 +02:00
Do you know my name?andHosted Weblate e7d1dda734 Translated using Weblate (Ukrainian)
Currently translated at 79.8% (3069 of 3842 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/uk/
2025-05-11 14:52:54 +02:00
Ghost of SpartaandHosted Weblate 853f8abb74 Translated using Weblate (Hungarian)
Currently translated at 100.0% (3842 of 3842 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2025-05-11 14:52:54 +02:00
FjuroandHosted Weblate 6f147b6a48 Translated using Weblate (Czech)
Currently translated at 100.0% (3842 of 3842 strings)

Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2025-05-11 14:52:54 +02:00