| void startAP() { | void startAP() { | ||||
| WiFi.mode(WIFI_AP); | WiFi.mode(WIFI_AP); | ||||
| WiFi.setSleepMode(WIFI_NONE_SLEEP); | |||||
| WiFi.softAP(ap_ssid, ap_pass); | WiFi.softAP(ap_ssid, ap_pass); | ||||
| delay(500); | delay(500); | ||||
| void handleConnecting() { | void handleConnecting() { | ||||
| if (WiFi.status() == WL_CONNECTED) { | if (WiFi.status() == WL_CONNECTED) { | ||||
| WiFi.setAutoReconnect(true); | |||||
| WiFi.persistent(true); | |||||
| startSTAWebServer(); | startSTAWebServer(); | ||||
| setState(STATE_STA_MODE); | setState(STATE_STA_MODE); | ||||
| return; | return; |
| //This is a automatic generated file | //This is a automatic generated file | ||||
| //Please do not modify this file | //Please do not modify this file | ||||
| //If you touch this file your change will be overwritten during the next build | //If you touch this file your change will be overwritten during the next build | ||||
| //This file has been generated on 2026-07-18 16:25:01 | |||||
| //This file has been generated on 2026-08-16 18:24:50 | |||||
| #include "Arduino.h" | #include "Arduino.h" | ||||
| #include "Arduino.h" | #include "Arduino.h" |