mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-07-03 16:31:12 +02:00
first beta Syslog: adding rssi snr freq error
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include <LoRa.h>
|
||||
#include "configuration.h"
|
||||
#include "pins_config.h"
|
||||
#include "syslog_utils.h"
|
||||
#include "display.h"
|
||||
|
||||
extern Configuration Config;
|
||||
@@ -65,6 +66,9 @@ String receivePacket() {
|
||||
int inChar = LoRa.read();
|
||||
loraPacket += (char)inChar;
|
||||
}
|
||||
if (Config.syslog.active && (stationMode==1 || stationMode==2)) {
|
||||
SYSLOG_Utils::processPacket(loraPacket, LoRa.packetRssi(), LoRa.packetSnr(), LoRa.packetFrequencyError());
|
||||
}
|
||||
}
|
||||
return loraPacket;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user