From 916eb038e546c08830d22d62e998e135a68ee236 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Mon, 2 Sep 2024 09:12:18 -0400 Subject: [PATCH] updated WiFi.setHostName() --- src/LoRa_APRS_iGate.cpp | 2 +- src/wifi_utils.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/LoRa_APRS_iGate.cpp b/src/LoRa_APRS_iGate.cpp index 48dea19..3182f47 100644 --- a/src/LoRa_APRS_iGate.cpp +++ b/src/LoRa_APRS_iGate.cpp @@ -38,7 +38,7 @@ ________________________________________________________________________________ #include "A7670_utils.h" #endif -String versionDate = "2024.08.26"; +String versionDate = "2024.09.02"; Configuration Config; WiFiClient espClient; diff --git a/src/wifi_utils.cpp b/src/wifi_utils.cpp index 4c9035e..d78f26c 100644 --- a/src/wifi_utils.cpp +++ b/src/wifi_utils.cpp @@ -70,6 +70,8 @@ namespace WIFI_Utils { startAP = true; } else { uint8_t wifiCounter = 0; + String hostName = "APRS_iGATE " + Config.callsign; + WiFi.setHostname(hostName.c_str()); WiFi.mode(WIFI_STA); WiFi.disconnect(); delay(500);