|
|
|
@ -1612,20 +1612,6 @@ void MyMesh::enterCLIRescue() { |
|
|
|
Serial.println("========= CLI Rescue ========="); |
|
|
|
} |
|
|
|
|
|
|
|
void MyMesh::formatStatsReply(char *reply) { |
|
|
|
// Use StatsFormatHelper
|
|
|
|
StatsFormatHelper::formatCoreStats(reply, board, *_ms, _err_flags, _mgr); |
|
|
|
} |
|
|
|
|
|
|
|
void MyMesh::formatRadioStatsReply(char *reply) { |
|
|
|
StatsFormatHelper::formatRadioStats(reply, _radio, radio_driver, getTotalAirTime(), getReceiveAirTime()); |
|
|
|
} |
|
|
|
|
|
|
|
void MyMesh::formatPacketStatsReply(char *reply) { |
|
|
|
StatsFormatHelper::formatPacketStats(reply, radio_driver, getNumSentFlood(), getNumSentDirect(), |
|
|
|
getNumRecvFlood(), getNumRecvDirect()); |
|
|
|
} |
|
|
|
|
|
|
|
void MyMesh::checkCLIRescueCmd() { |
|
|
|
int len = strlen(cli_command); |
|
|
|
while (Serial.available() && len < sizeof(cli_command)-1) { |
|
|
|
|