syslog update
This commit is contained in:
parent
9ff76a2bd1
commit
06319e9c34
Binary file not shown.
|
|
@ -20,7 +20,7 @@ Configuration Config;
|
||||||
WiFiClient espClient;
|
WiFiClient espClient;
|
||||||
|
|
||||||
|
|
||||||
String versionDate = "2023.06.25";
|
String versionDate = "2023.06.30";
|
||||||
int myWiFiAPIndex = 0;
|
int myWiFiAPIndex = 0;
|
||||||
int myWiFiAPSize = Config.wifiAPs.size();
|
int myWiFiAPSize = Config.wifiAPs.size();
|
||||||
WiFi_AP *currentWiFi = &Config.wifiAPs[myWiFiAPIndex];
|
WiFi_AP *currentWiFi = &Config.wifiAPs[myWiFiAPIndex];
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ WiFiUDP udpClient;
|
||||||
namespace SYSLOG_Utils {
|
namespace SYSLOG_Utils {
|
||||||
|
|
||||||
void log(String type, String packet, int rssi, float snr, int freqError) {
|
void log(String type, String packet, int rssi, float snr, int freqError) {
|
||||||
String syslogPacket = "ESP32 LoRa [APRS] - ";
|
String syslogPacket = "ESP32 LoRa [APRS] - " + Config.callsign + " - ";
|
||||||
if (Config.syslog.active && (stationMode==1 || stationMode==2)) {
|
if (Config.syslog.active && (stationMode==1 || stationMode==2)) {
|
||||||
if (type == "APRSIS Tx") {
|
if (type == "APRSIS Tx") {
|
||||||
if (packet.indexOf(":>") > 10) {
|
if (packet.indexOf(":>") > 10) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue