testing new Syslog Comments info

This commit is contained in:
richonguzman 2024-05-19 23:34:29 -04:00
parent 2496c12763
commit 916cbade8c
4 changed files with 22 additions and 10 deletions

View file

@ -218,7 +218,9 @@ namespace Utils {
seventhLine = "RSSI:" + String(rssi) + "dBm SNR: " + String(snr) + "dBm";
} else if (packet.indexOf(":!") >= 10 || packet.indexOf(":=") >= 10) {
sixthLine = sender + "> GPS BEACON";
GPS_Utils::getDistance(packet);
if (!Config.syslog.active) {
GPS_Utils::getDistanceAndComment(packet); // to be checked!!!
}
seventhLine = "RSSI:" + String(rssi) + "dBm";
if (rssi <= -100) {
seventhLine += " ";