Commit 1f2377c
Implementing full support for OpenRing (#113)
* renamed tau ring to OpenRing
* renamed folder
* added missing file
* renamed value parser
* Add OpenRing PPG sensor parsing and configuration
* small changes
* Add OpenRing payload-based config and PPG streaming command
* updates
* Fix OpenRing IMU frame parsing and add PPG packet decoding
* Swap OpenRing PPG start/stop control byte
* Harden OpenRing IMU stream handling for mixed packets
* Make OpenRing parser tolerant to partial/mixed packets
* Decode OpenRing PPG packet type 0x02 frames
* Fix OpenRing IMU payload offset and flexible waveform logs
* Fix OpenRing sample timestamps to be strictly monotonic
* Trace OpenRing parsed/emitted values and decouple timestamps by cmd
* Estimate IMU sample rate from packet timing for timestamp spacing
* Use fixed IMU sample spacing for timestamps
* Align IMU accel parsing with SDK sub-opcode behavior
* Ignore OpenRing accel-only IMU packets and parse accel+gyro only
* fully implemented imu
* added PPG support
* all sensors working
* implemented wall clock time sync for OpenRing
* implemented regular battery polling
* ensure timing logic while battery and time sync
* implemented openring
* added off state and default states for openring
* added openring image
* more gracefully handle sensor states and data targets for openring
* more gracefully handle sensor states and data targets for openring
* streamlined the system devices and bluetooth devices (ring-only split)
* made the openring implementation more stable
* made the openring implementation more stable
* improved the state handling
* rely on the 0x32 characharteristic only
* simplified the logic to pure software disable because everything else turns out to be unstable
* fixed a little bug in the battery logic
* fixed a little bug in the battery logic
* lib/src/models/devices/open_ring_factory.dart: changed units of sensors to match actual data
---------
Co-authored-by: TobiasRoeddiger <roeddiger@teco.edu>1 parent f1135da commit 1f2377c
17 files changed
Lines changed: 2364 additions & 498 deletions
File tree
- assets/wearable_icons/open_ring
- example/lib/widgets
- lib
- src
- managers
- models
- capabilities
- sensor_configuration_specializations
- sensor_specializations
- open_ring
- tau_ring
- devices
- utils/sensor_value_parser
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
76 | | - | |
| 81 | + | |
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
265 | 266 | | |
266 | | - | |
| 267 | + | |
| 268 | + | |
267 | 269 | | |
268 | | - | |
| 270 | + | |
269 | 271 | | |
270 | | - | |
271 | | - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
272 | 278 | | |
273 | 279 | | |
274 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
275 | 312 | | |
276 | 313 | | |
277 | 314 | | |
| |||
0 commit comments