Repository navigation
suunto_nautic: flag an unanswered handshake; temperatures from the Windows records - #13
Merged
Merged
Conversation
…ndows records - suunto_nautic_device_handshake_acknowledged: the open succeeds when only other frames arrive before the link goes quiet (a sleeping watch), so apps can tell the user to press a button when the first request times out - the water temperature range comes from the /Summary Windows records, which hold Temperature.Min/Max in schema order on both watches; Ocean firmware writes the dive record's pair reversed. The dive record stays the fallback Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two items from deepsealabs/libdc-swift#29 (trustthegoose, build 19 report):
suunto_nautic_device_handshake_acknowledged(device): 1 when the watch sent its Hello-Ack on open. The open carries on when only other frames arrived before the link went quiet, which is how a sleeping watch looks; its first request then times out (-7). Exposed so apps can say "press a button on the watch"./SummaryWindows records (2-4, Temperature.Min/Max at +101/+105). Both watches write those in schema order; Ocean firmware writes the dive record pair reversed. Lowest min / highest max across the Windows; the ordered dive record pair is the fallback.Tested from libdc-swift: fake-watch tests for the flag (acknowledged / withheld), a synthetic summary where the Windows disagree with a reversed dive record, and the git-ignored capture corpus (Ocean + Nautic dives checked against the Suunto app: 16 read the Windows, including the Ocean dive with the reversed pair).
🤖 Generated with Claude Code