Ingvar Stepanyan and José Rebelo
32a18d8d81
Garmin: deduplicate degrees ↔ semicircles math in GarminUtils
...
The watch encodes lat/lon as signed 32-bit semicircles (1<<31 == 180°). Move the bidirectional conversion behind named helpers backed by a single constant, and migrate toLocationData and FieldDefinitionCoordinate onto them.
2026-06-06 21:26:51 +02:00
Thomas Kuehne
25e322ea9a
IntentApiReceiver: enhance device specification in Intents
...
- harmonise extra `address` to `device` - the old extra `address` logs a warning but is still supported
- support optional `device` extra for action nodomain.freeyourgadget.gadgetbridge.command.ACTIVITY_SYNC
- support optional `device` extra for action nodomain.freeyourgadget.gadgetbridge.command.DEBUG_SEND_NOTIFICATION
- support optional `device` extra for action nodomain.freeyourgadget.gadgetbridge.command.DEBUG_INCOMING_CALL
- support optional `device` extra for action nodomain.freeyourgadget.gadgetbridge.command.DEBUG_END_CALL
- support ComponentName extras for action nodomain.freeyourgadget.gadgetbridge.command.DEBUG_TEST_NEW_FUNCTION
- code review
See Freeyourgadget/website#247 for the documentation update.
2026-06-06 18:03:48 +00:00
José Rebelo
7f755a6887
Merge pull request 'onTestNewFunction enhancements' ( #6247 )
...
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/6247
2026-06-06 10:00:07 +02:00
José Rebelo
c186b45742
Merge pull request 'SMAQ2OSS: move SMAQ2OSSSupport to standard package' ( #6242 )
...
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/6242
2026-06-06 09:47:56 +02:00
Thomas Kuehne
bc20a1a874
onTestNewFunction enhancements
...
EventHandler.onTestNewFunction
- add optional `options` Bundle parameter for receiving arguments
intent nodomain.freeyourgadget.gadgetbridge.command.DEBUG_TEST_NEW_FUNCTION
- add optional String extra `address` to specify the MAC address of the target device
- add optional Bundle extra `options` to pass arguments to EventHandler.onTestNewFunction
- construct a synthetic `options` bundle if the `options` extra is missing but there are `options_...` extras
Global setting `Settings / Developer options / Intent API / Allow Debug Command` must be enabled and the device(s) connected for the following examples.
Example to trigger onTestNewFunction for all currently connected devices:
`adb shell am broadcast -p nodomain.freeyourgadget.gadgetbridge -a "nodomain.freeyourgadget.gadgetbridge.command.DEBUG_TEST_NEW_FUNCTION"`
Example to trigger onTestNewFunction for a specific device:
`adb shell am broadcast -p nodomain.freeyourgadget.gadgetbridge -a "nodomain.freeyourgadget.gadgetbridge.command.DEBUG_TEST_NEW_FUNCTION" --es address "12:34:56:78:9A:BC" `
Example to trigger onTestNewFunction for a specific device with an option Bundle containing float x=4.2 and integer array y=[1,2,3] extras:
`adb.exe shell am broadcast -p nodomain.freeyourgadget.gadgetbridge -a "nodomain.freeyourgadget.gadgetbridge.command.DEBUG_TEST_NEW_FUNCTION" --es address "31:31:43:30:40:07" --ef options_x 4.2 --eia options_y 1,2,3`
Extras for some other types can also be specified via command line. See https://developer.android.com/tools/adb#IntentSpec for details.
2026-06-06 07:28:51 +00:00
Thomas Kuehne
2407519e61
SMAQ2OSS: move SMAQ2OSSSupport to standard package
2026-06-06 00:41:59 +00:00
Gideon Zenz
8be39c99ea
Health Connect: Advance sync cursor for temperature records
...
TemperatureSyncer is the only syncer implementing HealthConnectSyncer
directly instead of inheriting from AbstractTimeSampleSyncer or
AbstractActivitySampleSyncer, both of which populate latestRecordTimestamp
in their base sync(). Its hand-rolled sync() never set the field, so the
orchestrator had nothing to advance the persisted cursor with and the
TEMPERATURE cursor stayed pinned at its starting value. Every sync then
re-read from that frozen point to now and re-inserted the whole span; the
per-record clientRecordId dedup hid the duplicates in Health Connect, so it
was silent but re-inserted weeks of records on each run.
Return the furthest-forward edge of the inserted records (body record time,
skin record endTime) as latestRecordTimestamp on the success path. The no-op
early returns keep it null, which correctly holds the cursor, matching every
other syncer's "nothing synced" behaviour. The cursor self-heals on the next
successful sync; no reset needed.
2026-06-05 23:29:37 +02:00
José Rebelo
f6fe89fcf0
Zepp OS: Limit number of weather items in V5 response
2026-06-05 21:28:33 +01:00
Thomas Kuehne
75e25a0e90
fix: Physical Layer (PHY) mask on MIUI for gadgets other than Casio GBX100
2026-06-05 10:48:25 +00:00
Andreas Shimokawa
7d9cb26d02
Pebble: pass dev_settings=true to rebble store url, do enable pbw downloads in browser
2026-06-05 10:19:52 +02:00
Thomas Kuehne
7e6d96ae8c
TransactionBuilder: rename wait/WaitAction to sleep/SleepAction
...
Object.wait(long) and TransactionBuilder.wait(int) have too similar signatures that may result in unintentionally calling the wrong method.
2026-06-05 03:47:59 +00:00
Thomas Kuehne
7c309e9a5d
TransactionBuilder: code review
2026-06-05 02:07:36 +00:00
José Rebelo
d1ec9eb25f
Update "Cancel" and "Delete" string identifiers to lowercase
2026-06-04 14:02:46 +01:00
José Rebelo
aecd417722
Improve steps and calories number formatting
2026-06-04 13:56:25 +01:00
Fjuro and Hosted Weblate
c90403513e
Translated using Weblate (Czech)
...
Currently translated at 100.0% (4817 of 4817 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2026-06-04 12:36:32 +00:00
Саша Петровић and Hosted Weblate
01af9abc65
Translated using Weblate (Serbian)
...
Currently translated at 63.5% (3060 of 4817 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/sr/
2026-06-04 12:36:32 +00:00
大王叫我来巡山 and Hosted Weblate
fe7420ea83
Translated using Weblate (Chinese (Simplified Han script))
...
Currently translated at 100.0% (4817 of 4817 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2026-06-04 12:36:31 +00:00
summoner001 and Hosted Weblate
03093a0c7f
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (4817 of 4817 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2026-06-04 12:36:31 +00:00
Zbignev Harmin and Hosted Weblate
7710a7538c
Translated using Weblate (Russian)
...
Currently translated at 100.0% (4817 of 4817 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2026-06-04 12:36:30 +00:00
Fjuro and Hosted Weblate
d1a89cae7d
Translated using Weblate (Czech)
...
Currently translated at 100.0% (4816 of 4816 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2026-06-04 12:36:30 +00:00
summoner001 and Hosted Weblate
b5167ca1be
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (4816 of 4816 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2026-06-04 12:36:29 +00:00
大王叫我来巡山 and Hosted Weblate
2e25be1dbe
Translated using Weblate (Chinese (Simplified Han script))
...
Currently translated at 100.0% (4816 of 4816 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2026-06-04 12:36:28 +00:00
apemay and Hosted Weblate
403577f25e
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (4812 of 4812 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/es/
2026-06-04 12:36:28 +00:00
Саша Петровић and Hosted Weblate
0d835de663
Translated using Weblate (Serbian)
...
Currently translated at 63.4% (3054 of 4812 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/sr/
2026-06-04 12:36:27 +00:00
summoner001 and Hosted Weblate
db2d9e61bf
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (4812 of 4812 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2026-06-04 12:36:27 +00:00
大王叫我来巡山 and Hosted Weblate
47a1d231c3
Translated using Weblate (Chinese (Simplified Han script))
...
Currently translated at 100.0% (4812 of 4812 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2026-06-04 12:36:26 +00:00
Fjuro and Hosted Weblate
046c97c57e
Translated using Weblate (Czech)
...
Currently translated at 100.0% (4812 of 4812 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2026-06-04 12:36:25 +00:00
Zbignev Harmin and Hosted Weblate
41351ee7a3
Translated using Weblate (Russian)
...
Currently translated at 100.0% (4810 of 4810 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2026-06-04 12:36:25 +00:00
Da Vitoria and Hosted Weblate
2316e35e21
Translated using Weblate (French)
...
Currently translated at 94.8% (4561 of 4810 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2026-06-04 12:36:24 +00:00
Sverlana and Hosted Weblate
c21c426f21
Translated using Weblate (Russian)
...
Currently translated at 99.2% (4776 of 4810 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/ru/
2026-06-04 12:36:23 +00:00
Luca Söthe and Hosted Weblate
34a3026e5c
Translated using Weblate (German)
...
Currently translated at 99.3% (4777 of 4810 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2026-06-04 12:36:23 +00:00
Luca Söthe and Hosted Weblate
f339d9c8c1
Translated using Weblate (German)
...
Currently translated at 98.2% (4727 of 4810 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/de/
2026-06-04 12:36:22 +00:00
David D. and Hosted Weblate
8243212bf6
Translated using Weblate (French)
...
Currently translated at 94.9% (4566 of 4810 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2026-06-04 12:36:22 +00:00
大王叫我来巡山 and Hosted Weblate
43be00d8c1
Translated using Weblate (Chinese (Simplified Han script))
...
Currently translated at 100.0% (4810 of 4810 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2026-06-04 12:36:21 +00:00
Da Vitoria and Hosted Weblate
c169f87584
Translated using Weblate (French)
...
Currently translated at 94.9% (4566 of 4810 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2026-06-04 12:36:21 +00:00
Fjuro and Hosted Weblate
6e10310178
Translated using Weblate (Czech)
...
Currently translated at 100.0% (4810 of 4810 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2026-06-04 12:36:20 +00:00
summoner001 and Hosted Weblate
22a47bbcbe
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (4810 of 4810 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2026-06-04 12:36:19 +00:00
Da Vitoria and Hosted Weblate
eb44126dd5
Translated using Weblate (French)
...
Currently translated at 94.8% (4559 of 4808 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2026-06-04 12:36:19 +00:00
Jan Jasper de Kroon and Hosted Weblate
1334273d52
Translated using Weblate (Dutch)
...
Currently translated at 96.3% (4631 of 4807 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/nl/
2026-06-04 12:36:18 +00:00
Fjuro and Hosted Weblate
1270b7ee44
Translated using Weblate (Czech)
...
Currently translated at 100.0% (4807 of 4807 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2026-06-04 12:36:18 +00:00
Da Vitoria and Hosted Weblate
bd9b1ee109
Translated using Weblate (French)
...
Currently translated at 95.0% (4567 of 4807 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2026-06-04 12:36:17 +00:00
Ghost of Sparta and Hosted Weblate
1b74014124
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (4807 of 4807 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2026-06-04 12:36:17 +00:00
summoner001 and Hosted Weblate
544fa2df50
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (4807 of 4807 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2026-06-04 12:36:16 +00:00
大王叫我来巡山 and Hosted Weblate
d97a5f976c
Translated using Weblate (Chinese (Simplified Han script))
...
Currently translated at 100.0% (4807 of 4807 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2026-06-04 12:36:15 +00:00
Fjuro and Hosted Weblate
615945c527
Translated using Weblate (Czech)
...
Currently translated at 100.0% (4805 of 4805 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/cs/
2026-06-04 12:36:15 +00:00
大王叫我来巡山 and Hosted Weblate
cd910516db
Translated using Weblate (Chinese (Simplified Han script))
...
Currently translated at 100.0% (4805 of 4805 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/zh_Hans/
2026-06-04 12:36:14 +00:00
summoner001 and Hosted Weblate
f4d16025ee
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (4805 of 4805 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/hu/
2026-06-04 12:36:14 +00:00
Da Vitoria and Hosted Weblate
6f04c3405b
Translated using Weblate (French)
...
Currently translated at 94.0% (4518 of 4805 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2026-06-04 12:36:13 +00:00
Da Vitoria and Hosted Weblate
f00ed42566
Translated using Weblate (French)
...
Currently translated at 93.7% (4502 of 4803 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/fr/
2026-06-04 12:36:13 +00:00
Deniz and Hosted Weblate
6e4a3ee66b
Translated using Weblate (Turkish)
...
Currently translated at 86.1% (4136 of 4803 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/tr/
2026-06-04 12:36:12 +00:00