Skip to content

Define compact BLE PPG samples for firmware 2.3 - #1

Merged
TobiasRoeddiger merged 3 commits into
mainfrom
codex/compact-ppg-ble
Oct 4, 2026
Merged

TobiasRoeddiger merged 3 commits into
mainfrom
codex/compact-ppg-ble

Conversation

@TobiasRoeddiger

Copy link
Copy Markdown
Member

PPG values contain 19 significant bits but currently occupy 32-bit slots. Define a lossless ten-byte BLE sample containing red, infrared, green, and ambient (16 → 10 bytes, 37.5% smaller).

  • Select the layout by each device’s firmware version: legacy for 2.2.x, compact for 2.3.x, including development builds. Keep sensor ID 4, packet header, and timestamps unchanged.
  • Preserve the 16-byte SD/.oe format and generated legacy codec.
  • Include generated C/Dart bindings and document the bit layout and mixed-version handling.

Validation: 17 generator/codec tests pass, including C golden-byte and truncated-input checks. Firmware and Flutter integration are separate PRs.

Compact IMU BLE samples for firmware 2.3.0
@TobiasRoeddiger
TobiasRoeddiger merged commit 514a2e7 into main Oct 4, 2026
1 check passed
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