I referred here. The ESP32/ESP32S3/ESP32C2/ESP32C3 chip has the following four MAC addresses: MAC for WiFi STA mode; MAC for WiFi AP mode ... ... <看更多>
By far the easiest approach is to just reboot ( esp_restart() ) after saving new configuration. Then select the right mode after reading the ... ... <看更多>
AutoConnect aims to connect the ESP module as a station to a WiFi access point ... access point fails, AutoConnect will switch the WiFi mode to WIFI_AP_STA, ... ... <看更多>
But if the IP must be first evaluated in setup() (from DHCP, or config file), then the following example shows how to set WiFiServer IP and ... ... <看更多>