Merge pull request #693 from meshtastic/heap-stats

Add heap free and total to local stats telemetry message
This commit is contained in:
Ben Meadors 2025-05-25 06:30:18 -05:00 committed by GitHub
commit 91484534a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -318,6 +318,16 @@ message LocalStats {
* This will always be zero for ROUTERs/REPEATERs. If this number is high, some other node(s) is/are relaying faster than you.
*/
uint32 num_tx_relay_canceled = 11;
/*
* Number of bytes used in the heap
*/
uint32 heap_total_bytes = 12;
/*
* Number of bytes free in the heap
*/
uint32 heap_free_bytes = 13;
}
/*