sm5 syslog update

This commit is contained in:
richonguzman 2023-11-26 14:33:10 -03:00
parent d0f13560db
commit 07ff67761d

View file

@ -13,7 +13,7 @@ namespace SYSLOG_Utils {
void log(String type, String packet, int rssi, float snr, int freqError) {
String syslogPacket = "ESP32 LoRa [APRS] - " + Config.callsign + " - ";
if (Config.syslog.active && (stationMode==1 || stationMode==2)) {
if (Config.syslog.active && (stationMode==1 || stationMode==2 || stationMode==5)) {
if (type == "APRSIS Tx") {
if (packet.indexOf(":>") > 10) {
syslogPacket += type + " - StartUp STATUS - " + packet.substring(packet.indexOf(":>")+2);