Skip to content

CoreTemp: refactor BLE runtime and added ANT+ HRM configurator#4255

Open
zyf0717 wants to merge 1 commit into
espruino:masterfrom
zyf0717:split/coretemp-ble-hrm-configurator
Open

CoreTemp: refactor BLE runtime and added ANT+ HRM configurator#4255
zyf0717 wants to merge 1 commit into
espruino:masterfrom
zyf0717:split/coretemp-ble-hrm-configurator

Conversation

@zyf0717

@zyf0717 zyf0717 commented Jun 19, 2026

Copy link
Copy Markdown

Summary

  • Rework CoreTemp BLE lifecycle handling to support explicit pair/disconnect, reconnect backoff, cache rebuilds, pause/resume ownership, and status events.
  • Add CORE Control Point support for ANT+ HRM scan, pair, status, and clear workflows.
  • Add App Loader custom settings for background connection, widget visibility, debug logging, custom-profile mode, scan window, and default ANT+ HRM ID.
  • Package coretemp.hrm.json, add deployable runtime modules, and bump CoreTemp to 0.10.

Validation

  • npm test
  • Fork GitHub Actions passed on latest commit
  • Verified branch is CoreTemp-only commit with no other changes
  • Tested on multiple Bangle.js 2, on multiple CORE/calera + various ANT+ HRMs (PowerLabs Chest HRM, Polar H10 and Verity Sense)
screenshot (1)

@zyf0717 zyf0717 changed the title CoreTemp: add BLE runtime and ANT+ HRM configurator CoreTemp: refactor BLE runtime and added ANT+ HRM configurator Jun 19, 2026
@zyf0717 zyf0717 marked this pull request as ready for review June 19, 2026 07:59
@zyf0717

zyf0717 commented Jun 22, 2026

Copy link
Copy Markdown
Author

@ihewitt looping you in as the original CoreTemp author. This PR substantially refactors CoreTemp’s BLE lifecycle and adds ANT+ HRM configuration/control-point support. I’d appreciate your review, especially around whether the new runtime ownership model, reconnect/cache behavior, and settings UX still fit the app’s intended design.

For detailed docs please see README.md.

@zyf0717 zyf0717 force-pushed the split/coretemp-ble-hrm-configurator branch from d77a674 to 2124ae7 Compare June 22, 2026 07:21
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