From 001a8f4b42ffa6a54d31768468fafe66b80567f0 Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Fri, 8 May 2020 22:21:07 +0200 Subject: [PATCH] rename broadcast to beacon --- src/LoRa_APRS_iGate.cpp | 4 ++-- src/settings.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index cd7e760..fb6f503 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -73,8 +73,8 @@ void loop() { show_display(call, "Broadcast to Server..."); Serial.print("[" + timeClient.getFormattedTime() + "] "); - aprs_is.sendMessage(BROADCAST_MESSAGE); - next_update = (timeClient.getMinutes() + BROADCAST_TIMEOUT) % 60; + aprs_is.sendMessage(BEACON_MESSAGE); + next_update = (timeClient.getMinutes() + BEACON_TIMEOUT) % 60; } if(aprs_is.available() > 0) { diff --git a/src/settings.h b/src/settings.h index 0354eb4..085fba4 100644 --- a/src/settings.h +++ b/src/settings.h @@ -15,8 +15,8 @@ //#define SERVER "euro.aprs2.net" #define PORT 14580 -#define BROADCAST_TIMEOUT 15 -#define BROADCAST_MESSAGE "OE5BPA-10>APRS:=4819.82NI01418.68E&LoRa IGATE (test RX mode), Info: github.com/peterus/LoRa_APRS_iGate" +#define BEACON_TIMEOUT 15 +#define BEACON_MESSAGE "OE5BPA-10>APRS:=4819.82NI01418.68E&LoRa IGATE (test RX mode), Info: github.com/peterus/LoRa_APRS_iGate" String call = "OE5BPA";