mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-08-11 03:12:52 +02:00
updated WiFi.setHostName()
This commit is contained in:
@@ -38,7 +38,7 @@ ________________________________________________________________________________
|
||||
#include "A7670_utils.h"
|
||||
#endif
|
||||
|
||||
String versionDate = "2024.08.26";
|
||||
String versionDate = "2024.09.02";
|
||||
Configuration Config;
|
||||
WiFiClient espClient;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user