syslog update

This commit is contained in:
richonguzman
2024-04-28 09:06:45 -04:00
parent c6929e161a
commit b2b388da99
2 changed files with 7 additions and 1 deletions

View File

@@ -56,6 +56,9 @@ namespace SYSLOG_Utils {
} else {
syslogPacket += type + " / " + packet;
}
} else if (type == "CRC") {
syslogPacket += type + " / CRC-ERROR / " + packet;
syslogPacket += " / " + String(rssi) + "dBm / " + String(snr) + "dB / " + String(freqError) + "Hz";
} else {
syslogPacket = "<165>1 - ERROR LoRa - - - ERROR / Error in Syslog Packet"; //RFC5424 The Syslog Protocol
}