mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-28 16:52:33 +01:00
minor code update
This commit is contained in:
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"editor.tabSize": 4,
|
"editor.tabSize": 4,
|
||||||
"editor.formatOnSave": true
|
"editor.formatOnSave": false
|
||||||
}
|
}
|
||||||
@@ -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 = "<165>1 - " + Config.callsign + " CA2RXU_LoRa_iGate_1.2" + " - - - "; //RFC5424 The Syslog Protocol
|
String syslogPacket = "<165>1 - " + Config.callsign + " CA2RXU_LoRa_iGate_1.3" + " - - - "; //RFC5424 The Syslog Protocol
|
||||||
if (Config.syslog.active && WiFi.status() == WL_CONNECTED) {
|
if (Config.syslog.active && WiFi.status() == WL_CONNECTED) {
|
||||||
if (type == "APRSIS Tx") {
|
if (type == "APRSIS Tx") {
|
||||||
if (packet.indexOf(":>") > 10) {
|
if (packet.indexOf(":>") > 10) {
|
||||||
|
|||||||
Reference in New Issue
Block a user