Commit Graph
13035 Commits
Author SHA1 Message Date
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
José Rebelo 729881ce21 Update changelog 2025-03-30 21:01:27 +01:00
José Rebelo f0ea2ff7c5 Zepp OS: Decode assistant voice data 2025-03-30 20:43:58 +01:00
José Rebelo 51b30557fb Zepp OS: Decode voice memo files 2025-03-30 20:43:20 +01:00
José Rebelo f9ceb16ff8 Add Concentus
* Taken from https://github.com/lostromb/concentus
* Commit: 6c2328dc19044601e33a9c11628b8d60e1f3011c
2025-03-30 20:43:13 +01:00
dependency-botandJosé Rebelo e944bfe184 Update protobuf to v4.30.2 2025-03-30 19:33:33 +00:00
dependency-botandJosé Rebelo 1a64484501 Update androidx.camera to v1.4.2 2025-03-30 19:33:20 +00:00
Lars BerningandJosé Rebelo cab12149d6 Adds advanced settings for EarFun Air Pro 4 2025-03-30 19:30:47 +00:00
José RebeloandJosé Rebelo fbff769333 Add licenses page 2025-03-30 19:25:38 +00:00
Me7c7andJosé Rebelo f26c973d3a Huawei: Save stress data to database and display to users 2025-03-30 19:25:03 +00:00
Me7c7andJosé Rebelo cd3d995664 Huawei: Stress calibration fixes 2025-03-30 19:25:03 +00:00
umpfelandJosé Rebelo 7af7c471da Bangle.js: added missed call notification (#4686)
Add an option to receive missed call notifications. See [https://github.com/orgs/espruino/discussions/7718](https://github.com/orgs/espruino/discussions/7718)

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/4686
Co-authored-by: umpfel <umpfel@noreply.codeberg.org>
Co-committed-by: umpfel <umpfel@noreply.codeberg.org>
2025-03-30 19:23:20 +00:00
José Rebelo c7fa48594a Set device change reason for all state changes
Apply f0d4efcb9 to all remaining devices.
2025-03-30 19:25:44 +01:00
umpfel f0d4efcb94 Bangle.js: Fix cached messages not send after reconnect 2025-03-30 16:42:03 +02:00
José Rebelo 4ae8e31667 Prevent crash when AbstractActivityChartFragment is wrongly extended
Some fragments are extending AbstractActivityChartFragment when they should
not, since they are not in an instance of ChartsHost. This will make them
crash occasionally when switching dates in the actual charts. Prevent this,
but log at error level.
2025-03-30 13:31:34 +01:00
José Rebelo 6ed0550881 Add sleep HR average 2025-03-30 13:29:19 +01:00
José Rebelo 0eccccb011 Huawei: Map activity type 11 to trail run
Fixes #4688
2025-03-30 13:11:20 +01:00
José Rebelo a2a7c4fe48 Lenovo Watch X (Plus): Fix language setting 2025-03-30 11:33:26 +01:00
José Rebelo bc3b7b2e76 Zepp OS: Fix crash when installing watchfaces 2025-03-29 22:18:43 +00:00
José Rebelo bc59a32a8c Amazfit Bip 3: Add workout gps settings 2025-03-29 21:29:58 +00:00
Me7c7 55df3c7aa5 Huawei: Basic stress support. Calibration and enabling 2025-03-28 23:19:52 +02:00
José Rebelo ced7fc5b98 Zepp OS: Fix sleep time if sleep stages are provided by watch 2025-03-24 22:49:26 +00:00
José Rebelo 820a4d5426 Zepp OS: Fix AGPS section not available on some devices 2025-03-24 22:33:15 +00:00
José Rebelo 03aefddc0f Move devicesettings files to src folder 2025-03-24 19:47:12 +00:00
José Rebelo efc06fe708 Zepp OS: Maps upload 2025-03-24 19:36:46 +00:00
rare-magma f42eb01811 Huawei: add support for band 10
Signed-off-by: rare-magma <rare-magma@posteo.eu>
2025-03-24 18:29:46 +01:00
José Rebelo fbaa9c4b37 Zepp OS: Respect sync calendar setting 2025-03-24 14:24:40 +00:00
José RebeloandJosé Rebelo 57273d35bb Improve idle and stale media session handling
* MediaManager: Use the inactive session if we're on an android version that allows it
* MediaManager: Clear the cache if no session is found
* Send the media key event to the inactive session, if any
* Otherwise, broadcast the media key event generically
2025-03-23 23:29:30 +00:00
José Rebelo b95f868bff Zepp OS: Add temperature support 2025-03-23 18:33:10 +00:00
José Rebelo c33b0ffcbb Zepp OS: Fix index overflow on large file transfers 2025-03-23 18:06:30 +00:00
José Rebelo a615807945 Zepp OS: Unify voice assistant service
It looks like Zepp Flow uses the same protocol as Alexa - or at least
very similar, since voice data comes in the same command and format.
2025-03-23 16:35:29 +00:00
José Rebelo 160027d756 Zepp OS: Fetch HR stats and sleep respiratory rate in normal builds 2025-03-23 16:15:13 +00:00
José Rebelo 8d1b321950 Huami: Add missing tables to deleteDevice
Huami was missing almost all tables, and some were missing from Zepp OS
2025-03-23 16:07:33 +00:00
José Rebelo ce3e11d07b Zepp OS: Add HRV support
Support is determined by whether the display item hrv exists
2025-03-23 16:00:43 +00:00
José Rebelo 849a7dc996 Zepp OS: Fetch sleep stages and score
Newer Zepp OS devices report sleep sessions separately, which include
accurate sleep stages, and a sleep score.

- Persist this data raw, since we don't know how to fully process it
- Overlay (and prefer) this data over sleep samples

Devices that do not support these such as the Mi Band 7 reply with
an unsuccessful fetch response, which is fine.
2025-03-23 15:56:11 +00:00
José Rebelo b91254265c Zepp OS: Fix and log experimental temperature fetch 2025-03-23 14:46:13 +00:00
José Rebelo 1f8fdf7eef Zepp OS: Fix parsing of PAI values after factory reset
It looks like they come with type 0 after a factory reset..?

Probably some undefined behavior, but the sample size still matches. It
seems to disappear for subsequent samples.
2025-03-23 14:17:21 +00:00
José Rebelo 59dd321069 Zepp OS 3/4: Fix download of single-chunk small files 2025-03-22 19:07:48 +00:00
José Rebelo 2a790befb4 Zepp OS: Add voice memo download logic 2025-03-22 19:07:20 +00:00
José Rebelo fb12de2c73 Zepp OS: Map all activity kinds 2025-03-22 17:25:28 +00:00
José Rebelo b94bfa5701 Zepp OS 3/4: Refactor file transfer service, fix screenshots 2025-03-22 17:25:02 +00:00
José Rebelo 73d15e3df7 Zepp OS: Allow 32-character hex key without 0x prefix 2025-03-22 15:40:44 +00:00