jrthomas270 and José 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
b05ecac21b
Update changelog
2025-05-25 20:24:41 +01: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 Kuehne and José 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 Kuehne and José 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 Kuehne and José 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
trentsuzuki and José Rebelo
6d256262d5
Fix inconsistent sleep scores
2025-05-24 14:46:50 +02:00
trentsuzuki and José Rebelo
6a88e43ac6
Refactor sleep chart fragments
2025-05-24 14:46:50 +02:00
Thomas Kuehne and José Rebelo
bb2ba155cc
ble: explicitly deal with GATT status 8, 129 and 133 in BtLEQueue.handleDisconnected
2025-05-24 14:40:23 +02:00
dependency-bot and José Rebelo
088eb81fec
Update dependency com.google.android.material:material to v1.12.0
2025-05-24 14:39:01 +02:00
dependency-bot and José 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 Kuehne and José Rebelo
9bb3279e67
UI: add icon for SpO2 measurement
2025-05-24 14:20:46 +02:00
dependency-bot and José Rebelo
7309c01aed
Update dependency androidx.fragment:fragment to v1.8.7
2025-05-24 14:18:49 +02:00
dependency-bot and José Rebelo
f74e7b6445
Update dependency gradle to v8.14.1
2025-05-24 14:18:28 +02:00
Thomas Kuehne and José 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 Williams and José 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
Me7c7 and José Rebelo
127ce6e569
Huawei: added more info to details
2025-05-23 21:43:11 +02:00
Thomas Kuehne and José 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 Kuehne and José Rebelo
e9415f3350
ble: add per-device setting to request BluetoothGatt.CONNECTION_PRIORITY_LOW_POWER
2025-05-21 20:51:14 +02:00
José Rebelo and José 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
morags and José 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 Kuehne and José 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 Kuehne and José 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 Kuehne and Arjan Schrijver
f22fa75770
BleGattClientSupport: add GATT_SUCCESS check
2025-05-14 20:38:44 +00:00
Thomas Kuehne and Arjan 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 Kuehne and José Rebelo
67eff1e361
huami+pebble: replace deprecated writeCharacteristic and writeDescriptor
2025-05-13 19:38:53 +00:00
Thomas Kuehne and José 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
jrthomas270 and José 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