feat(repeater): report the TX-failure counters in the RF status reply
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
a5de8624d7
commit
48dea09a0c
2 files changed
+22
No files matched your search
@@ -497,6 +497,8 @@ int MyMesh::handleRequest(ClientInfo *sender, uint32_t sender_timestamp, uint8_t
|
||||
stats.n_flood_dups = ((SimpleMeshTables *)getTables())->getNumFloodDups();
|
||||
stats.total_rx_air_time_secs = getReceiveAirTime() / 1000;
|
||||
stats.n_recv_errors = radio_driver.getPacketsRecvErrors();
|
||||
stats.n_tx_start_fail = getNumTxStartFail(); // CUSTOM (TeTeHacko)
|
||||
stats.n_tx_timeout = getNumTxTimeout(); // CUSTOM (TeTeHacko)
|
||||
memcpy(&reply_data[4], &stats, sizeof(stats));
|
||||
|
||||
return 4 + sizeof(stats); // reply_len
|
||||
|
||||
Reference in new issue
Block a user