mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-05-06 13:22:13 +02:00
query added to syslog
This commit is contained in:
@@ -16,7 +16,9 @@ namespace SYSLOG_Utils {
|
||||
if (Config.syslog.active && (stationMode==1 || stationMode==2 || (stationMode==5 && WiFi.status()==WL_CONNECTED))) {
|
||||
if (type == "APRSIS Tx") {
|
||||
if (packet.indexOf(":>") > 10) {
|
||||
syslogPacket += type + " / StartUp STATUS / " + packet.substring(packet.indexOf(":>")+2);
|
||||
syslogPacket += type + " / StartUp_Status / " + packet.substring(packet.indexOf(":>")+2);
|
||||
} else {
|
||||
syslogPacket += type + " / QUERY / " + packet;
|
||||
}
|
||||
} else if (type == "Rx") {
|
||||
if (packet.indexOf("::") > 10) {
|
||||
|
||||
Reference in New Issue
Block a user