Set WiFi to station mode only (disables AP SSID broadcast)
This commit is contained in:
parent
c93d12abd8
commit
015a408441
@ -59,6 +59,7 @@ void setup()
|
|||||||
stairs->init(pwmDriver);
|
stairs->init(pwmDriver);
|
||||||
|
|
||||||
_dln("Initializing WiFi");
|
_dln("Initializing WiFi");
|
||||||
|
WiFi.mode(WIFI_STA);
|
||||||
WiFi.hostname(WiFiHostname);
|
WiFi.hostname(WiFiHostname);
|
||||||
WiFi.begin(WiFiSSID, WiFiPassword);
|
WiFi.begin(WiFiSSID, WiFiPassword);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user