Skip to content

Decode compact IMU BLE samples without changing public units - #155

Merged
TobiasRoeddiger merged 1 commit into
codex/compact-ppg-blefrom
codex/compact-imu-ble
Oct 4, 2026
Merged

TobiasRoeddiger merged 1 commit into
codex/compact-ppg-blefrom
codex/compact-imu-ble

Conversation

@TobiasRoeddiger

Copy link
Copy Markdown
Member

Decode firmware 2.3.x IMU BLE samples using the six signed int16 motion readings and three existing magnetometer floats. Reconstruct the exact previous float32 values before applying the advertised parsing scheme, so public values, units, component names, and phone CSVs stay unchanged.

Select the transport per connection from firmware version. Firmware 2.2.9 and other supported older versions retain their existing decoding; the default file parser retains the unchanged 36-byte SD/.oe format. Stacked on #154 and uses OpenEarable/protocol#3.

Validation: all 23 library tests and 12 browser transport tests pass; analysis is clean. Covers every signed int16 value, single/batched samples, mixed firmware versions, offsets, timestamps, malformed data and legacy file decoding.

@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 358f790):

https://open-earable-lib-web-example--pr155-codex-compact-imu-bux17mxl.web.app

(expires Sun, 01 Nov 2026 20:44:04 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7f6db4d9d00b851ad49af109fa949061904b3151

@TobiasRoeddiger
TobiasRoeddiger merged commit a171dae into codex/compact-ppg-ble Oct 4, 2026
4 checks passed
@TobiasRoeddiger TobiasRoeddiger mentioned this pull request Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant