Skip to content

Replay HeatSuite coretemp and bp device pairing and management - #7

Merged
nravanelli merged 2 commits into
HeatSuiteLabs:masterfrom
zyf0717:upstream-master-2026-07-09
Jul 10, 2026
Merged

Replay HeatSuite coretemp and bp device pairing and management#7
nravanelli merged 2 commits into
HeatSuiteLabs:masterfrom
zyf0717:upstream-master-2026-07-09

Conversation

@zyf0717

@zyf0717 zyf0717 commented Jul 9, 2026

Copy link
Copy Markdown

Summary

Replays the HeatSuite BP runtime updates onto the current HeatSuiteLabs/BangleApps history and restores the remaining HeatSuite/CoreTemp integration behavior needed on top of that base.

  • Updates BP measurement parsing, connection flow, timeout handling, and user-facing error handling.
  • Updates BP pairing to validate bonding, perform best-effort device time sync, disconnect before persisting settings, and restore HeatSuite BLE recorders cleanly on success, cancellation, scan failure, and pairing failure.
  • Updates the BP task launch path to await HeatSuite BLE recorder shutdown before loading BLE task apps.
  • Adds the minimal widget-side recorder restart fix required for BLE recorder restoration.
  • Restores HeatSuite/CoreTemp runtime integration so the CORESensor recorder bootstraps CoreTemp when needed, fixes CORE HR aggregation, pauses/resumes CORE around competing HeatSuite BLE tasks.
  • Updated to v0.16
  • Note: CoreTemp depends on a separate PR

Validation

  • node -c apps/heatsuite/heatsuite.app.js
  • node -c apps/heatsuite/heatsuite.bp.js
  • node -c apps/heatsuite/heatsuite.settings.js
  • node -c apps/heatsuite/heatsuite.wid.js
  • node bin/sanitycheck.js
  • tested on bangle.js2 device as well

@zyf0717
zyf0717 force-pushed the upstream-master-2026-07-09 branch from 4977505 to b8bed22 Compare July 9, 2026 04:03
@zyf0717
zyf0717 marked this pull request as ready for review July 9, 2026 04:05
@zyf0717
zyf0717 marked this pull request as draft July 9, 2026 04:06
@zyf0717
zyf0717 force-pushed the upstream-master-2026-07-09 branch from b8bed22 to 2a87738 Compare July 9, 2026 04:14
@zyf0717 zyf0717 changed the title Replay HeatSuite BP device pairing and management Replay HeatSuite coretemp and bp device pairing and management Jul 9, 2026
@zyf0717
zyf0717 marked this pull request as ready for review July 9, 2026 05:14
@zyf0717
zyf0717 marked this pull request as draft July 9, 2026 16:28
@zyf0717
zyf0717 force-pushed the upstream-master-2026-07-09 branch from 67fc64c to 09a5a6f Compare July 9, 2026 16:35
@zyf0717
zyf0717 marked this pull request as ready for review July 9, 2026 16:35
@zyf0717
zyf0717 force-pushed the upstream-master-2026-07-09 branch from 09a5a6f to 3c2a1ee Compare July 9, 2026 17:42
@zyf0717
zyf0717 force-pushed the upstream-master-2026-07-09 branch from 3c2a1ee to fbb444e Compare July 10, 2026 00:33

@nravanelli nravanelli left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only a couple of revisions.

Comment thread apps/heatsuite/heatsuite.app.js Outdated
Comment thread apps/heatsuite/heatsuite.bp.js Outdated
Comment thread apps/heatsuite/heatsuite.bp.js Outdated
@zyf0717

zyf0717 commented Jul 10, 2026

Copy link
Copy Markdown
Author

Only a couple of revisions.

@nravanelli comments addressed

@nravanelli
nravanelli merged commit 3e08758 into HeatSuiteLabs:master Jul 10, 2026
2 of 3 checks 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.

2 participants