Skip to content

fix: redesign UART node status reporting format and semantics - #12

Merged
retsimx merged 1 commit into
mainfrom
fix/uart-node-status-format
Mar 17, 2026
Merged

fix: redesign UART node status reporting format and semantics#12
retsimx merged 1 commit into
mainfrom
fix/uart-node-status-format

Conversation

@retsimx

@retsimx retsimx commented Mar 17, 2026

Copy link
Copy Markdown
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

@github-actions

github-actions Bot commented Mar 17, 2026

Copy link
Copy Markdown

📊 Coverage Report

Metric Coverage
Lines 99.88%
Functions 100.00%
Regions 99.78%
Branches 93.96%

- 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
retsimx force-pushed the fix/uart-node-status-format branch from 9778a7e to 6ac4f5c Compare March 17, 2026 03:22
@retsimx
retsimx merged commit bf0dc86 into main Mar 17, 2026
5 checks passed
@retsimx
retsimx deleted the fix/uart-node-status-format branch March 17, 2026 03:24
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