Skip to content

Add Polar H10 BLE ECG and HR/RR acquisition - #885

Open
Andrey1994 wants to merge 2 commits into
masterfrom
codex/add-polar-h10-20261110
Open

Andrey1994 wants to merge 2 commits into
masterfrom
codex/add-polar-h10-20261110

Conversation

@Andrey1994

Copy link
Copy Markdown
Member

Adds POLAR_H10_BOARD (73) using SimpleBLE. The default preset contains 130 Hz ECG in microvolts, the PMD device clock and a preparation-time battery reading. The auxiliary preset preserves every HR/RR event, including multiple RR intervals in one notification; it explicitly declares an irregular sampling rate of 0 rather than representing the events as a uniform waveform.

The driver selects an advertised H10 by optional address/device ID, subscribes to control indications or notifications according to the characteristic, checks the 130 Hz/14-bit ECG settings, validates multipart PMD responses, and waits for both a successful START acknowledgement and ECG data. Errors, missing replies and cleanup are covered through a transport seam using the actual driver lifecycle. All binding IDs and documentation are aligned.

Validation: warnings-as-errors Linux build; all 67 native tests pass, including Polar's published signed ECG fixture, settings and HR/RR parsing, control rejection, missing responses, first-data timeout, stop/restart and release/reprepare. These tests are part of the existing native CI suite. BLE discovery/subscription timing and physical H10 operation remain unverified; accelerometry, compressed frames, offline recording and other Polar models are outside this PR.

Reference: official Polar BLE SDK.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T23:57:20.681678Z 07b12ad PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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