Commit Graph
12775 Commits
Author SHA1 Message Date
Me7c7 27804ff485 Huawei: Freebuds 6 initial support 2025-06-09 20:28:41 +03:00
José Rebelo 894016dbe0 Fix missing variable initialization 2025-06-09 13:00:29 +01:00
José Rebelo 1ae9729d9b Zepp OS: Fix crash when icon is empty on app.json (#4883) 2025-06-09 12:05:44 +01:00
Thomas KuehneandJosé Rebelo 0acba61522 BLE: fix concurrency handling of ACTION_BOND_STATE_CHANGED and improve logs 2025-06-09 12:57:04 +02:00
Me7c7andJosé Rebelo 67f8a2406e Huawei: Basic errors handling on workouts data sync 2025-06-09 12:48:34 +02:00
Me7c7andJosé Rebelo 9ef92a9c1c Huawei: Sort the workouts after adjusting the count. 2025-06-09 12:48:34 +02:00
Thomas KuehneandJosé Rebelo dff57d6e37 BluetoothGattCharacteristic: prefer WRITE_TYPE_DEFAULT over WRITE_TYPE_NO_RESPONSE if both are supported
If both PROPERTY_WRITE and PROPERTY_WRITE_NO_RESPONSE are supported by a BluetoothGattCharacteristic Android defaults to WRITE_TYPE_NO_RESPONSE.
This then may cause early BluetoothGattCallback.onCharacteristicWrite calls when the write has been queued on the mobile but potentially not yet actually completely reached the gadget.
Depending on the queued BtLEAction(s) and timing details this is often harmless but may sporadically cause inconsistencies.

Must be explicitly enabled in the device specific developer settings.
2025-06-09 11:58:07 +02:00
Thomas KuehneandJosé Rebelo 5e038a831f ble: add more Gatt status codes to BleNamesResolver 2025-06-08 21:16:04 +02:00
GanblejsandJosé Rebelo 6717303110 BondingUtil: ask user to wait a few moments while bonding 2025-06-08 20:27:02 +02:00
José Rebelo 730a75bf15 Redmi Buds 6 Pro: Initial support 2025-06-08 13:16:21 +01:00
Thomas Kuehne 70f26114e4 ble: fix check-and-use concurrency issues in BtLEQueue
this is a partial backport from PR #4915
2025-06-08 07:43:32 +02:00
José Rebelo e54fb0cf4d CMF Watch Pro 2: Improve activity parsing (#4530) 2025-06-07 13:25:31 +01:00
José Rebelo c7279d3cf2 Garmin Forerunner 645 Music: Initial support 2025-06-07 11:44:49 +01:00
ahormannandJosé Rebelo 1c85956bcc Pixel Buds A: Initial Support 2025-06-07 09:50:24 +02:00
Vitaliy TominandJosé Rebelo f157e18fd5 huawei: Add huawei Watch 5 2025-06-07 09:46:23 +02:00
dependency-botandJosé Rebelo 27b896a772 Update dependency androidx.fragment:fragment to v1.8.8 2025-06-07 09:44:06 +02:00
dependency-bot 5daacf6b6f Update dependency androidx.appcompat:appcompat to v1.7.1 2025-06-07 01:21:38 +00:00
Thomas Kuehne ad08df3f96 log: replace Throwable.printStackTrace by LOG.warn to reliably pinpoint where this exception handling is happening 2025-06-05 00:48:20 +02:00
jrthomas270andJosé Rebelo 85f01ee6ca Even Realities G1: Support more things
Add support for:
 - Charging status
 - Battery level of the case
 - Fetching Serial Number
 - Parsing hardware information from serial number
 - Add Hard Reset button
 - Toggle for device level debug logging
 - Bug Fix: kill heartbeat worker on disconnect
 - Weather
 - Toggle for 12H/24H time
 - Set the dashboard to minimal on connection
2025-06-04 23:22:54 +02:00
Thomas KuehneandJosé Rebelo 3320203c23 gradle: upgrade Android SDK to API 36 / Baklava
Keep targetSdk and minSdk unchanged. Ensure SDK is up-to-date as Google once again changed relevant CompanionDevice APIs.
2025-06-03 20:59:49 +02:00
Thomas Kuehne d6fb02619a Debug: assist user to input properly formatted MAC addresses
Android's Bluetooth rejects MACs with:
- lower letter (abcdef) instead of upper letters (ABCDEF)
- hyphens (-) instead of colons (:)

banglejs builds also support pebble emulator addresses
2025-06-03 01:04:01 +02:00
dependency-bot d4707a2492 Update protobuf to v4.31.1 2025-05-31 01:11:35 +00:00
Me7c7 a007a12247 Huawei: Force phoneCapability to 0x00 on DeviceConfig 2025-05-29 14:01:51 +03:00
José Rebelo 0eb0d02e5a Garmin: Parse max met data and training load 2025-05-28 20:34:01 +01:00
Martin.JM 72d729b9c9 Huawei: Quick fix for workout count mismatch
As suggested by Me7c7 in #4857.
2025-05-28 17:41:56 +02:00
trentsuzukiandJosé Rebelo d251062b85 Add weekly/monthly stress charts 2025-05-26 21:49:48 +02:00
jrthomas270andJosé Rebelo 7021804db5 Even Realities G1: Add Settings menu and silent mode toggle
This change adds in a toggle for "silent mode" which turns the displays
off and makes the glasses act like normal glasses.

This change also adds the following configuration settings:
 - Screen Location/height
 - Screen Depth Effect
 - Head Tilt Activation Angle
 - Toggle Auto Brightness
 - Brightness Level
 - Wear Detection

Also refactored Communications file to have a consistent naming style.
2025-05-26 21:43:19 +02:00
Arjan Schrijver 0a0fba4179 Colmi R12: Fix bluetooth name 2025-05-26 08:53:27 +02:00
José Rebelo 0bc285f174 Garmin Vívosmart 4: Initial support 2025-05-25 20:11:30 +01:00
José Rebelo 35a98dab82 Garmin: Upload all segments from first track in gpx 2025-05-24 21:46:03 +01:00
Thomas KuehneandJosé Rebelo b60b560d9d UI: use dynamic tint for icons to support light, dark and dynamic colour themes 2025-05-24 22:07:07 +02:00
Thomas KuehneandJosé Rebelo 6470931e2c ble: eliminate possibility of InternalGattCallback.getCallbackToUse race conditions 2025-05-24 18:14:24 +02:00
Thomas Kuehne 9848654b58 ble: fix GattCallback.onConnectionStateChange is never called 2025-05-24 16:52:46 +02:00
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
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