mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-19 03:34:48 +01:00
query added to syslog
This commit is contained in:
parent
8d115832f1
commit
f2bf254a5e
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue