updated WiFi.setHostName()
This commit is contained in:
parent
40fc177828
commit
916eb038e5
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue