Thomas Kuehne
35276c5cfd
btle+br: switch performConnected/performImmediately to queueConnected/queueImmediately ( #5107 )
...
1) replace DeviceSupport's performConnected and performImmediately with TransactionBuilder's queueConnected and queueImmediately - perform* couldn't prevent repeatedly queueing the same transaction
2) improve JavaDoc for btle+br TransactionBuilders
3) improve error handling for btle's TransactionBuilder
2025-07-18 22:27:29 +02:00
Thomas Kuehne and José Rebelo
9f168fa350
use actual MTU instead of fixed size for TransactionBuilder.writeChunkedData
2025-07-18 19:56:30 +02:00
Thomas Kuehne
ae1d5b1f01
btle: fix BtLEQueue.insert concurrency ( #5103 )
2025-07-18 15:57:30 +02:00
José Rebelo
2aa35e2c67
Add android.permission.BLUETOOTH permission ( #5053 )
...
Keep the permission even on Android 12 and above, as some ROMs are buggy
and are unable to pair with A2DP devices
2025-07-18 11:59:59 +01:00
José Rebelo
ce334fad33
onInstallApp: Add support for custom options
2025-07-18 09:03:49 +01:00
José Rebelo
c3af3b3ce1
Garmin eTrex SE
2025-07-17 23:46:28 +01:00
José Rebelo
da78b3abb4
Garmin: Support weather V1
2025-07-17 23:45:35 +01:00
Me7c7 and José Rebelo
a2eb63db26
Huawei: Additional parameters for activity summary.
2025-07-18 00:08:49 +02:00
Thomas Kuehne and José Rebelo
69874ad535
btle+br: use modernized TransactionBuilder methods ( #5101 )
2025-07-18 00:07:09 +02:00
Daniele Gobbetti
f78d59d6d4
Deprecate NotificationCollectorMonitorService
...
Don't start the foreground NotificationCollectorMonitorService unless enabled in the deprecated settings.
The notification service seems to be reliably kept alive by the OS without this workaround, and having a second foreground service is causing a second persistent notification for some users.
2025-07-16 17:22:07 +02:00
Thomas Kuehne
afd529fbf3
btle+br: remove the queue argument from TransactionBuilder.queue ( #5099 )
2025-07-15 16:07:17 +02:00
Arjan Schrijver
13d12f52c0
Use getAllDeviceDao() in Fossil, Moyoung and Yawell coordinators
2025-07-15 11:01:34 +02:00
Arjan Schrijver
310027cdb1
Fossil/Skagen Hybrids: Add support for workouts sync
...
Fixes #4639
2025-07-15 09:45:05 +02:00
Thomas Kuehne
8daa0178ce
ble+btbr: add TransactionBuilder.setProgress ( #5098 )
2025-07-14 19:04:38 +02:00
Thomas Kuehne and José Rebelo
7dac462f7d
FunctionAction: enhance Transaction.run to streamline one-off actions ( #5081 )
2025-07-14 00:12:16 +02:00
José Rebelo
5ce9936686
GloryFit: Initial support for Oukitel BT103, Dotn P66D
2025-07-13 21:28:36 +01:00
Thomas Kuehne
78578cc86d
btle+br: use DeviceSupport.createTransactionBuilder instead of TransactionBuilder's constructor to prepare for queue isolation
2025-07-13 21:06:04 +02:00
Thomas Kuehne
a67613072c
asteroidos: fix concurrency issue between initializeDevice and onSetTime
2025-07-13 19:00:33 +02:00
José Rebelo
c634645492
Garmin Vivosmart 3: Initial support
2025-07-13 15:49:08 +01:00
José Rebelo
b31f2c95fb
Amazfit Balance 2: Mark as supported
...
Confirmed on matrix
2025-07-13 13:22:43 +01:00
cooligula and José Rebelo
e30ad83303
Add diving functionality for HUAWEI Devices (initial PR, adding data types) ( #5069 )
...
Co-authored-by: cooligula <cooligula@noreply.codeberg.org >
Co-committed-by: cooligula <cooligula@noreply.codeberg.org >
2025-07-13 14:14:27 +02:00
José Rebelo
5b3d5b1ef9
Garmin Vivomove Sport: Initial support
2025-07-13 13:11:56 +01:00
dependency-bot and José Rebelo
4e01505c77
Update dependency org.apache.commons:commons-lang3 to v3.18.0
2025-07-12 14:22:42 +02:00
dependency-bot and José Rebelo
22c68310db
Update dependency com.android.tools.build:gradle to v8.11.1
2025-07-12 14:22:11 +02:00
José Rebelo
3c76b58829
Sort device language preference alphabetically
2025-07-12 13:13:56 +01:00
Thomas Kuehne
d8a4773c15
ble: use thread safe parameter in onCharacteristic instead of characteristic.getValue
2025-07-12 09:51:50 +02:00
Me7c7 and José Rebelo
7ba46f1138
huawei: Parse addional data for workout
2025-07-11 22:07:18 +02:00
Thomas Kuehne and José Rebelo
fdb1367434
toasts: use Throwable.getLocalizedMessage instead of getMessage
2025-07-11 22:07:04 +02:00
Thomas Kuehne and José Rebelo
956adf72d9
TransactionBuilder: simplify the writing of single byte values
2025-07-11 22:05:17 +02:00
Aziz Anwar and Aziz Anwar
8652471497
xiaomi smart band 10 sleep details parser fileId version 5
2025-07-11 11:25:13 +02:00
Daniele Gobbetti
cd651ce140
Refactor Notification classes to remove Pebble-isms
...
Move pebble icons and color to a new class, keeping the original NotificationType enum
2025-07-11 09:27:02 +02:00
Thomas Kuehne
0b42950ac9
log when Service.onTimeout gets called for foreground services
...
GB sometimes gets killed without any obvious cause in gadgetbridge.log. This a companion of PR #5036 to figure out potential causes.
2025-07-10 23:54:05 +02:00
Thomas Kuehne and José Rebelo
57b39f4e09
ble: use old writeCharacteristic API for writeLegacy
...
Some vendors customized timing aspects so that the old and new writeCharacteristic calls behave differently.
On vanilla Android there is no difference.
2025-07-10 23:27:33 +02:00
Thomas Kuehne and José Rebelo
de5a1afed1
logging: handle null buffers in GB.hexdump
...
Enable dumping null buffers like Logging.formatBytes already supports.
2025-07-10 23:26:54 +02:00
José Rebelo
630995a04f
Mi Band 9 Pro: Fix walking activity parsing
2025-07-10 21:38:36 +01:00
José Rebelo
1db728b400
Force upper-case preferences for device settings
2025-07-10 21:12:17 +01:00
José Rebelo
5e3a0fdced
Add Goodwy and Simple SMS to sms apps
2025-07-10 21:00:09 +01:00
José Rebelo
aa4f15ff31
Hide battery header if single battery
2025-07-10 20:42:35 +01:00
Arjan Schrijver
4eea3397b1
Fix repeating battery exemption request
2025-07-10 16:44:03 +02:00
Daniele Gobbetti
c4ca8d6b3b
Printer: allow alignment of picture
...
Show the picture on a canvas and allow to swipe it to align left, middle or right.
Also simplify the activity layout by removing the incoming picture and only showing the preview.
2025-07-09 17:14:57 +02:00
Qtekfun
234d057305
feat: Add support for Colmi R07
2025-07-09 08:29:54 +02:00
José Rebelo
1717a40ad6
Mi Band 9 Pro: Fix walking activity parsing
2025-07-08 21:35:32 +01:00
José Rebelo
f5f2f23793
Amazfit Active 2 NFC Square: Fix recognition
2025-07-08 20:04:55 +01:00
Daniele Gobbetti
87d6a677ec
Printer: fix device icon colors
2025-07-08 09:16:10 +02:00
Andreas Shimokawa
f5642092c8
ATC_BLE_OEPL: Fix keeing aspect in some cases
2025-07-07 21:36:45 +02:00
Andreas Shimokawa
e1c3bf3e64
ATC_BLE_OEPL: use printer icon
2025-07-07 14:40:39 +02:00
Andreas Shimokawa
6a04734f9c
ATC_BLE_OEPL: apply dithering using PnnLABQuantizer
...
This involves making PnnLABQuantizer::dither public and abusiung it to be able to use dithering with a predefined palette
2025-07-07 10:56:13 +02:00
Daniele Gobbetti
99a05742ff
Start NotificationCollectorMonitorService as foreground service
2025-07-07 08:37:13 +02:00
José Rebelo
c9812aac54
Enable Kotlin support
2025-07-06 21:16:45 +01:00
Daniele Gobbetti and daniele
23f4488852
Printer: add upscale switch and print size in preview
2025-07-06 18:08:46 +02:00