Skip to content

Conversation

@michaelhart
Copy link
Contributor

@michaelhart michaelhart commented Oct 7, 2025

Adds serial commands to get stats

  • Added formatStatsReply, formatRadioStatsReply, and formatPacketStatsReply methods in MyMesh for simple_repeater, simple_room_server, and simple_sensor.
  • Updated CommonCLI to handle new stats commands.

The 3 new serial-only commands are stats, stats-radio, and stats-packets.

  -> {"battery_mv":0,"uptime_secs":17,"errors":0,"queue_len":2}
  -> {"noise_floor":-103,"last_rssi":-17,"last_snr":12.25,"tx_air_secs":1,"rx_air_secs":3}
  -> {"recv":6,"sent":3,"flood_tx":3,"direct_tx":0,"flood_rx":6,"direct_rx":0}

@Cisien
Copy link

Cisien commented Oct 19, 2025

@ripplebiz @recrof We would love this change. It will let us free up air time by moving repeater stats telemetry to other systems

@michaelhart michaelhart force-pushed the dev branch 3 times, most recently from e0428cb to 472e388 Compare October 21, 2025 10:55
- Added formatStatsReply, formatRadioStatsReply, and formatPacketStatsReply methods in MyMesh for both simple_repeater, simple_room_server, and simple_sensor.
- Updated CommonCLI to handle new stats commands.
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.

2 participants