Repository navigation
Track the session counter; take the control strobe when no stream is open (0.3.0) - #8
Merged
Merged
Conversation
… is open The device's once-a-second counter (102405) is session-scoped, not device uptime: it restarts with each session. It is now tracked as `session_counter`, a FAST field that raises `SessionCounter` without republishing the snapshot. A `stream` row now refuses the control channel's copy only while a stream is open to supply the better one. With no stream, the control channel's tuner strobe (12 values/sec idle, measured) is taken, so a control-only client can watch for someone playing without the ~20 Hz meter frame. Meters also arrive singly (a `$41` read, the control channel), so a numeric at a `multi` row writes the element its slot names. Adds examples/cbor_idle_rate.py, the measurement behind docs/06's idle table. libkp 0.3.0. Co-Authored-By: Claude Opus 5.5 <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.
session_counter: tracks the device's once-a-second counter (102405). It is session-scoped, not uptime: it restarts with each session. It is a FAST field, so it raisesSessionCounterand never republishes the snapshot. The field is in all three languages, with vectors.streamrow now refuses the control channel's copy only while a stream is open. With no stream, the control channel's tuner strobe is taken. That strobe is 12 values/sec idle (measured, docs/06), against the stream's ~220.multirow writes the element its slot names.examples/cbor_idle_rate.pyis the measurement behind docs/06's idle table.🤖 Generated with Claude Code