Commit Graph
13226 Commits
Author SHA1 Message Date
dependency-botandJosé Rebelo ebd34925f7 Update dependency org.mockito:mockito-core to v5.17.0 2025-04-06 22:16:48 +00:00
José Rebelo bf2cc6ae86 Fix battery full notifications for devices that do not report charging state 2025-04-06 23:06:11 +01:00
José Rebelo cfb495ab53 Zepp OS: Request high MTU on connection 2025-04-06 22:05:15 +01:00
José Rebelo ad8d2dc3f9 Update changelog 2025-04-06 21:01:15 +01:00
José Rebelo dafb5bcb11 Extract GBDeviceEvent to each individual event 2025-04-06 15:33:29 +01:00
José Rebelo 3dd88e3ea3 Zepp OS: Remove unused time format and distance unit code
These are already handled by the config service.
2025-04-06 14:49:00 +01:00
José Rebelo e01f305fe1 Zepp OS: Fix default weather encryption 2025-04-06 13:52:54 +01:00
José Rebelo 7a869e24e3 Zepp OS: Extract world clocks to standalone service 2025-04-06 13:52:46 +01:00
José Rebelo 4f47e2a881 ZeppOsConfigService: Absorb some non-standard configs 2025-04-05 23:47:12 +01:00
José Rebelo b9cd07dd81 Zepp OS: Fix requesting device info 2025-04-05 23:32:18 +01:00
José Rebelo d4d15491dd Zepp OS: Extract services: battery, connection, vibration patterns, weather 2025-04-05 23:31:33 +01:00
José Rebelo 2996474177 Zepp OS: Improve gpx upload support auto-detection 2025-04-05 21:23:45 +01:00
José Rebelo 1732564c1e Zepp OS: Voice Memos 2025-04-05 21:06:10 +01:00
José Rebelo d202db4704 Garmin: HTTP weather improvements 2025-04-05 16:52:39 +01:00
a161803398andJosé Rebelo cae9d23857 Make weather strings translatable 2025-04-05 07:47:00 +00:00
a161803398andJosé Rebelo 12df9f719c Huami: Fix sending air quality index 2025-04-05 07:47:00 +00:00
José Rebelo 3ad5412d04 Huami2021ChunkedEncoder: Remove dependency on BLE characteristic 2025-04-04 23:32:21 +01:00
Vitaliy TominandJosé Rebelo 4b2c1089a9 huawei: Honor Watch 4 workaround for GetNotificationConstraintsRequest
* Watch stop responging after getting this request, so disable it for now
2025-04-04 22:04:54 +00:00
Vitaliy TominandJosé Rebelo f354941bb6 huawei: Do not apply encryption to FileUpload on non encrypted devices
* Do not encrypt file payload on devices where
paramsProvider.areTransactionsCrypted() == false because there is not
even valid key avaliable. Related devices is older  Honor (Watch Magic 2,
GS Pro, GS3) and newer Honor (Watch 4, Watch 4 Pro)
2025-04-04 22:04:54 +00:00
Vitaliy TominandJosé Rebelo ce5881df12 huawei: Support Honor resolutions, handle empty tags
* Do not crash if any descrition.xml tag is missing, just replace
with empty string. Honor descriptions seems missing -cn tags.
* handle com.honor.watchface watchface name
2025-04-04 22:04:54 +00:00
Vitaliy TominandJosé Rebelo 2538a6e9d3 huawei: Handle version 4 digest for Honor Watch 4
* on huawei devices authVersion == 4 means using hichain,
but honor still using simple challenge response and actually
using V1 digest key
2025-04-04 22:04:54 +00:00
Vitaliy TominandJosé Rebelo 1ce16380b8 huawei: Honor Watch 4 (PRO) 2025-04-04 22:04:54 +00:00
José RebeloandJosé Rebelo 82af1bdb88 Maps: Offset latitude to make track centered in map 2025-04-04 22:02:46 +00:00
a0zandJosé Rebelo bbb4eb675d Maps: dynamic map route color change, polyline redraw on activity swipe 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo c45842b7d3 Make activity details headers consistent 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo ca5faa2a1f Maps: Open track activity on single tap 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo 0310e287b3 Maps: Do not crash when map loading fails 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo f7cf3b8a17 Add Mapsforge and AndroidSVG licenses 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo cfdee2b1f9 Maps: Make track color configurable 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo 49fb88ed9d Maps: Move maps preference to main screen 2025-04-04 22:02:46 +00:00
a0zandJosé Rebelo 502c25e48e Workout: offline map auto zoom, render background color, long press 2025-04-04 22:02:46 +00:00
a0zandJosé Rebelo 68b51627d2 Workout: map improvments 2025-04-04 22:02:46 +00:00
José RebeloandJosé Rebelo 8cec2282a8 Workout: offline map init 2025-04-04 22:02:46 +00:00
José Rebelo 732cbd9b16 Zepp OS: Extract authentication to standalone service
Replicate the logic from the InitOperation2021, but this makes it
reusable for btrfcomm devices, without refactoring BLE devices previous
to Zepp OS.
2025-04-04 22:59:12 +01:00
José Rebelo bbd9868eaf Zepp OS: Auto-detect continuous find device 2025-04-03 21:32:07 +01:00
José Rebelo 1739c9c585 Zepp OS: Extract services: user info, silent mode, find device 2025-04-03 21:23:56 +01:00
Me7c7 55c9f689df Extended stress logic for chart fragment.
- Added chart drawing configuration
- If the interval set emulate drawing bar chart by interval
- Ability to show stress level as percentage
2025-04-03 14:25:35 +03:00
José Rebelo 476b479aba Update changelog 2025-04-02 20:30:46 +01:00
José Rebelo e8d4558b0a Zepp OS: Music upload (unstable)
- Only works in some regions apparently (eg. uk)
- Very unstable for files larger than 2MB
2025-04-02 20:27:38 +01:00
José Rebelo 9744f6d22f Zepp OS 3+: Prevent some signed overflows during large file transfers 2025-04-02 20:26:00 +01:00
José Rebelo 0abd54af98 Zepp OS: Fix invalid files being recognized as maps 2025-04-02 20:26:00 +01:00
José Rebelo e9bb18b811 Make Huawei AudioInfo reusable 2025-04-02 20:26:00 +01:00
Me7c7andJosé Rebelo 41024f29a8 Huawei: Stress calibration related fixes 2025-04-02 19:23:57 +00:00
Me7c7andJosé Rebelo f3080449b3 Huawei: Fill stress samples at 30 minute intervals 2025-04-02 19:23:57 +00:00
Me7c7 d5e5429aab Huawei: Find device 2025-04-02 17:25:55 +03:00
Me7c7andJosé Rebelo 34123c03d0 The relevant copyright headers added. 2025-04-01 21:12:32 +00:00
Me7c7andJosé Rebelo 12ff8c0ba0 Huawei: Code cleanups and corrections 2025-04-01 21:12:32 +00:00
José Rebelo e71ee1da5d Fix day switch in activity charts
Regression introduced by 4ae8e3166
2025-03-31 21:30:18 +01:00
Daniele Gobbettianddaniele 0fefa5de6b Generic Audio BT Device Support
Add support for any Audio Bluetooth Device recognized by the OS. The main aim is to support incoming calls and notifications being read aloud.
The device must be paired with Android OS and be recognized as audio device.

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4675
Reviewed-by: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-authored-by: Daniele Gobbetti <daniele+cb@gobbetti.name>
Co-committed-by: Daniele Gobbetti <daniele+cb@gobbetti.name>
2025-03-31 06:53:11 +00:00
Ilya Nikitenkov 6753eba880 Huawei: Support ANC modes selection for FreeBuds Pro
* Added control for adjusting noise cancellation intensity when ANC is enabled.
* Added a toggle for Voice Boost when Transparency mode is enabled.
* Implemented HuaweiHeadphonesCapabilities to ensure new settings are exclusive to FreeBuds Pro.
* Refactored code to define enums for ANC Modes and Audio Modes.
* Added icons for Audio Mode, In-Ear Detection, ANC Mode, and Voice Boost.

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4664
2025-03-30 23:02:39 +03:00