Commit Graph
14021 Commits
Author SHA1 Message Date
punchdeerflyscorpionandJosé Rebelo dc60a72e4f Add diving graphs (garmin) 2025-10-19 14:40:36 +02:00
José Rebelo 6fdd645758 Garmin fenix 6X Sapphire: Initial support 2025-10-19 13:27:53 +01:00
José Rebelo c9bfd9efdc Garmin: Fix realtime settings crash when a value contains % (#5498) 2025-10-19 13:21:47 +01:00
José Rebelo fc4e565aab Withings Steel HR: Improve initialization reliability 2025-10-18 23:53:46 +01:00
José Rebelo d42466c663 Withings Steel HR: Request MTU before enabling notifications
It looks like enabling notifications before setting the MTU will
sometimes fail, which would leave the device stuck initializing.
2025-10-18 22:53:59 +01:00
a0zandJosé Rebelo 85b982a1a3 Sleep score chart: prevent duplicated legends items 2025-10-18 16:04:02 +02:00
a0z c776bed056 PAI chart: add y axis padding to display value when bigger than pai goal 2025-10-18 15:14:57 +02:00
dependency-bot a48e789fe2 Update protobuf to v4.33.0 2025-10-18 01:02:21 +00:00
dependency-botandArjan Schrijver 636b690256 Update dependency no.nordicsemi.android:dfu to v2.10.0 2025-10-16 22:06:43 +02:00
José Rebelo 4f759f8d1c C20: Fix bluetooth name matching on some watches 2025-10-16 20:04:02 +01:00
Thomas KuehneandJosé Rebelo 01ff179071 ble: adjust TransactionBuilder's MTU logging 2025-10-14 23:27:36 +02:00
Thomas Kuehne 4355236799 ble: prepare evenrealities for online chunking PR
Adjust G1DeviceSupport and G1SideManager to limit the impact of #5218
2025-10-14 21:09:13 +02:00
Me7c7 0c4202bede Huawei: Activate Arterial Stiffness Detection. No sync 2025-10-13 21:58:01 +03:00
Me7c7 1ee65b98f8 Huawei: sleep breathing awareness for new devices. No sync 2025-10-13 20:42:51 +03:00
Arjan Schrijver 35ec0f2629 Replace references to wiki with website 2025-10-13 15:52:05 +02:00
Thomas KuehneandJosé Rebelo c8f6b8cfaf GxpParser: extraction more waypoint and trackpoint data (#5465) 2025-10-12 23:50:37 +02:00
Me7c7 2f127e1982 Huawei: ECG activation support. No sync. 2025-10-12 14:42:01 +03:00
Me7c7 eae5d87ae0 Huawei: Pulse wave arrhythmia activation and control. No sync to GB. 2025-10-12 14:26:57 +03:00
jrthomas270 7ee1f67c54 Even Realities G1: Fix offby one in new BLE name support
It seems like I didn't actually redeploy the app to my phone when
testing my previous change, so I was actually testing the old code
(which works with my particular device name). After rebuilding for
sure with the new code, I didn't get the indexOf offsets correct.
This fixes the bug introduced by the previous change.
2025-10-11 16:40:06 -07:00
jrthomas270andJosé Rebelo 39918f74ab Even Realities G1: Improve Connection Reliability
This change fixes several things:
  1. Update the logic for 3 state related functions for MultiBLEDevice
     so they now take into account all sub devices.
  2. Fix several race condidtions in the initialization logic. This
     fixes one lens permenantly not being connected.
  3. Add a callback when one of the devicess diconnects to put the
     both sides of the lens into WAITING_FOR_RECONNECT state.
  4. Decrease the heartbeat sleep to 8 seconds. Since Android Deep sleep
     can add upwards to 20 seconds to the sleep time, this means most
     heartbeats will be sent every 28 seconds.
  5. Fixed a bug in the per-side state when the device was disconnected
     without the SideManager object being destroyed which lead to the
     full initialization process not being followed on reconnection.
2025-10-11 23:52:59 +02:00
Me7c7andJosé Rebelo a17c553255 Huawei: health feature config experimental support. 2025-10-11 23:46:38 +02:00
Thomas KuehneandJosé Rebelo 3fd826cd79 fix: unescaped' and " as well as white space sequences in string.xml
https://developer.android.com/guide/topics/resources/string-resource#FormattingAndStyling
Escape single quotes (') and double quote (").
Unescaped characters are removed by the Android tool chain.

A string contained completely in quotes
   <string>"a b   c"</string>
triggers special white space preserving handling (a b   c) instead of the normal white space collapse (a b c).
2025-10-11 23:41:55 +02:00
dependency-botandJosé Rebelo 7220059d75 Update androidx.camera to v1.5.1 2025-10-11 23:23:35 +02:00
jrthomas270 8e7dc26078 Even Realities G1: Support More BLE Device Names
Some glasses have shown up that have the format G1_X_L instead of the
previously expecte G1_XX_L. Update the regex so it can support any
number of digits in that position.
2025-10-11 13:03:35 -07:00
José Rebelo 2c8fb9a65f Xiaomi: Parse daily calories, distance, energy 2025-10-11 15:36:00 +01:00
José Rebelo 5be6fbeb67 Xiaomi: Fix outdoor running HR zones for some devices 2025-10-11 15:00:26 +01:00
José Rebelo 33a774f837 Garmin: Fix ML handle with msb set (#5476) 2025-10-11 13:48:08 +01:00
Thomas KuehneandJosé Rebelo a28ed02534 Garmin: extend FIT file parsing 14 - COURSE_POINT 32 / type 4
based on https://github.com/muktihari/fit
2025-10-10 01:01:44 +02:00
José Rebelo 62b324ec90 Amazfit GTS 4 Mini New: Initial support 2025-10-09 23:58:56 +01:00
Thomas KuehneandJosé Rebelo 89485c76ad GpxTrackPoint: fix NullpointerException in toString 2025-10-10 00:54:50 +02:00
José Rebelo a9e222020a Garmin: Fix real-time HR 2025-10-09 22:21:49 +01:00
José Rebelo 752ea8b992 Garmin: Add workaround for missing next page id on new sync protocol 2025-10-07 20:40:40 +01:00
José Rebelo eb37c343d1 Truncate existing file before zip export
In "w" mode it is not guaranteed to truncate, which will result in a
corrupted zip.
2025-10-05 22:44:06 +01:00
José Rebelo a7c026fd5d Garmin Venu 4: Initial support 2025-10-05 09:18:58 +01:00
Me7c7 297507b7eb Huawei: ability to view heart rate zones and limits. 2025-10-04 21:38:17 +03:00
jrthomas270andJosé Rebelo eec87ab89c Even Realities G1: Move Packet Sequence Generation to the shared space
Previously, each side of the glasses had it's own sequence number, after
longer periods of time, these numbers would go out of sync and the
glasses would crash because the values are expected to be the same. Now
there is a single sequence number, and packets that are sent to both
lenses will now share the same sequence number. The heartbeat runner is
also moved to the shared space so that the time outs of the BLE
connections do not get skewed.
2025-10-04 20:25:42 +02:00
José Rebelo 5e26a8363c Sony Wena 3: Enable body energy 2025-10-04 19:02:22 +01:00
jrthomas270 b10669d933 Even Realities G1: Handle MTU change as the device expects
The Glasses expect a notification when the MTU chagnes, so forward the
new MTU value to the glasses.
2025-10-04 10:48:30 -07:00
jrthomas270 e8f7a1fad3 Even Realities G1: Remove baterry polling
The glasses periodically transmit their battery state, since that is
supported now, use that instead of requesting the battery info
periodically.
2025-10-04 09:53:59 -07:00
Thomas Kuehne f01f7f7537 GpxParser: improve GPX file detection
Add support for byte order marks (BOM) and UTF-16 big endian / little endian.
2025-10-04 02:24:49 +02:00
José Rebelo 9a0e9fd05a CMF Watch Pro: Fix some activity samples being discarded 2025-10-03 20:22:06 +01:00
Thomas KuehneandJosé Rebelo c265c0892d Garmin: extend FIT file parsing 13 - test Location encoding 2025-10-03 19:42:17 +02:00
Me7c7 17ef03452f Huawei: replace magic numbers with constants 2025-10-03 16:22:19 +03:00
Me7c7 f870704983 Huawei: round speed and uvIndex values 2025-10-03 11:25:50 +03:00
Me7c7 597dc7b1ad Huawei: proper calculate wind direction 2025-10-03 10:57:42 +03:00
José RebeloandJosé Rebelo b352b164d4 Garmin: Initial MLR support 2025-10-02 22:40:10 +02:00
Thomas KuehneandJosé Rebelo 36f5c8a31e Garmin: extend FIT file parsing 12 - LOCATION 29 / symbol 3 2025-10-02 20:40:13 +02:00
Me7c7 d9cfcc025e Huawei: extend weather 2025-10-02 19:44:28 +03:00
José Rebelo 186550df84 Fix crash while loading notification picture (#5445) 2025-10-02 12:49:46 +01:00
Me7c7andJosé Rebelo f98b5eb11f Huawei: Handle device status response for upload error state. 2025-10-01 21:33:59 +02:00