fix: redesign UART node status reporting format and semantics - #12
Merged
Conversation
retsimx
commented
Mar 17, 2026
Owner
- Replace the existing bulk LightStatus UART message with a new dedicated NodeStatus (0x07) message type carrying compact [node_id, online, on_off] triples, eliminating sequence-number noise from the wire format
- Fix offline nodes never being reported: the previous implementation preserved the last-known non-zero sequence number when a node timed out, causing consumers to always see the node as online; offline is now encoded explicitly as online=0
- Send an initial full-mesh state dump immediately when UART status reporting is enabled, so consumers see the current topology without waiting for the next organic state change
- Add a new UART monitor utility that consumes NodeStatus packets and displays real-time online/offline and on/off changes
- Bump build version
📊 Coverage Report
|
- Replace the existing bulk LightStatus UART message with a new dedicated NodeStatus (0x07) message type carrying compact [node_id, online, on_off] triples, eliminating sequence-number noise from the wire format - Fix offline nodes never being reported: the previous implementation preserved the last-known non-zero sequence number when a node timed out, causing consumers to always see the node as online; offline is now encoded explicitly as online=0 - Send an initial full-mesh state dump immediately when UART status reporting is enabled, so consumers see the current topology without waiting for the next organic state change - Add a new UART monitor utility that consumes NodeStatus packets and displays real-time online/offline and on/off changes - Bump build version
retsimx
force-pushed
the
fix/uart-node-status-format
branch
from
March 17, 2026 03:22
9778a7e to
6ac4f5c
Compare
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.