José Rebelo
a0687b9823
woodpecker: Update android-fdroid-tools to 35.0.1-androguard-4.1.2-java-21
2025-05-11 13:52:41 +01:00
Thomas Kuehne
f453e21c0f
onMtuChanged: add missing super calls and GATT_SUCCESS checks
2025-05-10 22:39:41 +02:00
José Rebelo
46e0699007
Sony WF-C710N: Initial support
2025-05-10 16:38:48 +01:00
Thomas Kuehne and José Rebelo
f3fd988aea
fix the new BLETypeConversions.toFloat32
2025-05-10 15:36:14 +00:00
Thomas Kuehne and José Rebelo
488c789e15
GattCallback: memory safe onCharacteristicChanged and onCharacteristicRead
...
Change the method signatures of GattCallback.onCharacteristicChanged and GattCallback.onCharacteristicRead to be memory safe. See Android 13 (Tiramisu, API 33) documentation for background.
To be memory safe onCharacteristicChanged and onCharacteristicRead should always evaluate the `value` parameter, potential in combination with BLETypeConversions, and not use:
- BluetoothGattCharacteristic.getValue
- BluetoothGattCharacteristic.getIntValue
- BluetoothGattCharacteristic.getFloatValue
- BluetoothGattCharacteristic.getStringValue
2025-05-10 15:36:14 +00:00
José Rebelo
92318edb7d
Amazfit Active 2 NFC: Initial support
2025-05-10 14:47:40 +01:00
dependency-bot and José Rebelo
806e7b6a34
Update dependency com.android.tools.build:gradle to v8.10.0
2025-05-10 13:39:29 +00:00
José Rebelo
0bca7087bb
Set source and target compatibility to Java 17
...
For context, see https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4735#issuecomment-4413866
2025-05-10 14:11:41 +01:00
Thomas Kuehne and José Rebelo
03e14edee4
switch the Java toolchain to version 21
...
Switch the Java toolchain to version 21 - the version shipped with current AndroidStudio releases.
Disable Java 1.8 warnings - see discussion in PR #4735
2025-05-10 13:09:46 +00:00
José Rebelo
87fd6b1596
Dashboard: Do not sum resting calories across devices
...
In theory, all devices should report the same amount of resting
calories. Since that will likely not be the case, and it also does not
make sense to sum them, average the resting calories across all devices
that provide them.
2025-05-10 10:19:07 +01:00
trentsuzuki and José Rebelo
d07d4865d1
Add weekly/monthly views for calories charts
2025-05-10 09:15:09 +00:00
Thomas Kuehne and José Rebelo
303d01530f
Gradle: execute the genSources task only when necessary
...
Rebuilds where only elements in app/ where changed no longer re-generate the entity java files.
2025-05-10 08:46:21 +00:00
Thomas Kuehne
414d266666
Gradle: regenerate changelog_git.xml only when actually required
...
During one build buildGitChangelog is executed multiple times (one call per defined applicationVariant).
This slows down builds and - because it generates a resource file - blocks Android Studio's Instant Run feature.
2025-05-08 23:42:36 +02:00
trentsuzuki and José Rebelo
ec5a4ad100
Add average day for body energy
2025-05-08 20:22:48 +00:00
Me7c7 and José Rebelo
a5ee041d7b
Huawei: Decode longest Streak and triped for jump rope(no UI)
2025-05-08 20:13:59 +00:00
nx-d1frnt
a154d900d9
Added basic support for Realme Buds T100, Realme Buds T300, Oppo Enco Buds2
2025-05-07 17:52:32 +00:00
Thomas Kuehne and José Rebelo
8b92a479e1
log: use descriptive BluetoothStatusCodes instead of numeric codes
2025-05-04 19:29:53 +00:00
Thomas Kuehne and José Rebelo
f51237217c
fix RequestConnectionPriorityAction waiting for a non-existing async BLE update
2025-05-04 19:28:48 +00:00
Thomas Kuehne and José Rebelo
dec5207c2d
fix ServerResponseAction sending hardcoded status 0 instead of parameter value
2025-05-04 19:26:21 +00:00
Thomas Kuehne
9f9e4faa98
log: explain why ReadAction didn't try to actually perform a read
2025-05-04 19:37:51 +02:00
vxnu20 and José Rebelo
758da0fa2e
Initial support for Realme Buds Air 5 pro
2025-05-03 09:42:29 +00:00
José Rebelo
c9423f7d25
Update changelog
2025-05-03 09:48:38 +01:00
Kenneth Koski
bda7fe48d9
Add initial support for Polar H10
...
Supports heart rate readings only for now
2025-05-02 20:11:53 -05:00
Me7c7
598cee31cc
Huawei: Fix crash in app list. Names for previously unknown
2025-05-02 20:03:23 +03:00
Thomas Kuehne
0f91b5790b
fix AbstractBTLEDeviceSupport calling bleApi for unsuccessful onCharacteristicRead
2025-05-02 18:31:11 +02:00
Me7c7
01e7f31522
Huawei: Configuration of goal reminders
2025-05-02 15:00:55 +03:00
Thomas Kuehne and José Rebelo
b6dadcb84f
Ultrahuman: add basic support for breathing exercise
2025-05-02 08:30:04 +00:00
Thomas Kuehne and José Rebelo
7019094f90
extend max # of DeviceCardActions from 1 to 3
2025-05-02 08:30:04 +00:00
José Rebelo
fccd1fb5af
iTag/thermometer: Fix icon colors in dynamic color theme
2025-05-02 00:01:51 +01:00
José Rebelo
3d13996527
Debug: Make test device sorting case-insensitive
2025-05-02 00:01:51 +01:00
Me7c7 and José Rebelo
e10f3f499c
Huawei: Ability to upload notification app icons
2025-05-01 22:52:34 +00:00
Me7c7 and José Rebelo
74ccdb807a
Remove code duplication.
2025-05-01 22:52:34 +00:00
Thomas Kuehne and José Rebelo
7acca2dd47
enhance existing BtLE log messages
...
- add bonding information - `Connected to GATT server. (BOND_BONDED)`
- add read/write/etc property decoding - `characteristic: (Propr: Ultrahuman State): 86f61001-f706-58a0-95b2-1fb9261e4dc7 (read,notify)`
- decode common GATT errors encountered by InternalGattCallback and InternalGattServerCallback
2025-05-01 13:35:53 +00:00
Thomas Kuehne and José Rebelo
742d5d96ab
log more failure details in WriteAction when running on Tiramisu or higher
2025-05-01 13:35:39 +00:00
Me7c7
284bbe129d
Huawei: Fix message during firmware update. Little cleanups
2025-05-01 10:05:43 +03:00
dependency-bot and José Rebelo
2bf9b0918b
Update dependency gradle to v8.14
2025-04-30 18:06:00 +00:00
José Rebelo
e738e88c4a
Garmin: Do not overwrite activity name when updating summary
2025-04-30 12:55:03 +01:00
José Rebelo
d703382971
Garmin: Fix crash when parsing some activities
2025-04-29 21:26:14 +01:00
José Rebelo
efbd4c8ec6
Moondrop Space Travel: Set device icon
2025-04-29 21:04:33 +01:00
Savely Krasovsky
a476c64794
feat: Garmin Instinct 2X Tactical support
2025-04-29 04:46:20 +02:00
José Rebelo
27db72aa43
Charts: Display resting metabolic rate
2025-04-27 23:17:30 +01:00
José Rebelo
64cebc9d7e
Zepp OS BTBR: Recover from session end with disconnect and re-connect
2025-04-27 22:52:23 +01:00
José Rebelo
a5a1ade392
Zepp OS: Disable realtime steps on connection
...
They can stay across connections and waste battery.
2025-04-27 22:50:28 +01:00
José Rebelo
b6b7ee31f9
Zepp OS BTBR: Increase buffer size
2025-04-27 10:48:39 +01:00
José Rebelo
063e022801
Zepp OS: Fix moon phase unit
...
It is supposed to be sent in lunar days and not degrees.
2025-04-26 21:50:55 +01:00
José Rebelo
e41daf5065
Zepp OS: Fix Sleep as Android initialization
2025-04-26 18:16:59 +01:00
José Rebelo
c372307835
Zepp OS: Fix DST when setting time
2025-04-26 18:08:28 +01:00
José Rebelo
aff9fb0474
Zepp OS: Fix app list string parsing
2025-04-26 18:08:28 +01:00
José Rebelo
3b5a3ef875
Zepp OS BTBR: Request apps periodically to keep connection alive
2025-04-26 18:08:28 +01:00
José Rebelo
023e8bc631
Zepp OS BTBR: Acks, protocol version, and improved ping handling
2025-04-26 18:08:28 +01:00