docs: describe stats-core output and its error flags
Document the stats-core output fields and decode the `errors` bitmask (shown as "Debug flags" in the app), from the ERR_EVENT_* flags in Dispatcher.h, and note that the flags stay set until reboot or `clear stats`. Fixes #3039 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4343409886
commit
7d5499e9eb
1 file changed
+12
@@ -142,6 +142,18 @@ This document provides an overview of CLI commands that can be sent to MeshCore
|
||||
|
||||
**Serial Only:** Yes
|
||||
|
||||
**Note:** Output format: `{"battery_mv":<mV>,"uptime_secs":<secs>,"errors":<flags>,"queue_len":<count>}`
|
||||
|
||||
**Note:** `errors` is a bitmask shown as "Debug flags" in the app's repeater status.
|
||||
|
||||
| Value | Flag | Meaning |
|
||||
|-------|------|---------|
|
||||
| 1 | `ERR_EVENT_FULL` | A packet failed to send because the memory pool was full. |
|
||||
| 2 | `ERR_EVENT_CAD_TIMEOUT` | After waiting 4 seconds for a gap, a packet was transmitted into a busy network. |
|
||||
| 4 | `ERR_EVENT_STARTRX_TIMEOUT` | The radio was out of receive mode for more than 8 seconds. |
|
||||
|
||||
Flags stay set until the node reboots or `clear stats` is run.
|
||||
|
||||
---
|
||||
|
||||
### Radio Stats - Noise floor, Last RSSI/SNR, Airtime, Receive errors
|
||||
|
||||
Reference in new issue
Block a user