Skip to content

suunto_nautic: cancel during a /Data stream, page cap, temperature order - #11

Merged
latishab merged 1 commit into
mainfrom
fix/nautic-cancel-stream
Oct 11, 2026
Merged

latishab merged 1 commit into
mainfrom
fix/nautic-cancel-stream

Conversation

@latishab

Copy link
Copy Markdown
Contributor

From trustthegoose's DC Tester 17 results on libdc-swift#29.

  • A cancel is honoured between /Data stream frames (it was only checked before each request, so a stopped sync kept downloading for minutes). The stream is still stopped so the watch doesn't keep sending it; the call returns DC_STATUS_CANCELLED.
  • MAX_PAGES 64 → 512: a dive's Descriptors schema is about 97 pages and was truncated.
  • The Ocean can store the /Summary temperature pair reversed; it is now ordered instead of falling back to the sampled range.

Tests live in libdc-swift, in the PR that bumps this submodule.

🤖 Generated with Claude Code

…cap, order the temperature pair

A long dive streams for minutes and the cancel callback was only checked
before each request, so a stopped sync kept downloading. Check it between
stream frames, and still stop the stream so the watch doesn't keep sending.

MAX_PAGES 64 truncated a dive's Descriptors schema (about 97 pages); raise
it to 512.

The Ocean can store the /Summary temperature pair reversed (the app then
shows Min 29.35, Max 18.85 C); order it instead of falling back to the
sampled range.
@latishab
latishab merged commit d65bf6d into main Oct 11, 2026
18 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.

1 participant