mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 14:42:18 +03:00
Terminal
This commit is contained in:
@@ -43,8 +43,9 @@ void startSTAMode() {
|
||||
}
|
||||
} while (keepConnecting && tries--);
|
||||
|
||||
if (WiFi.status() == WL_CONNECTED) {
|
||||
initMQTT();
|
||||
if (isNetworkActive()) {
|
||||
MqttClient::init();
|
||||
|
||||
setLedStatus(LED_OFF);
|
||||
} else {
|
||||
startAPMode();
|
||||
|
||||
Reference in New Issue
Block a user