OS: Windows 10
platform = https://github.com/platformio/platform-espressif32.git
I'm having a peculiar issue here. I can't access the AsyncWebServer when I am connected to the ESP32 AP Mode using Windows 10. But I can access the AsyncWebServer when I am connected to the AP using my Galaxy Note 9.
and
After the PC fails to access the AsyncWebServer , when trying to connect with the phone to the AP it doesn't work. It seems like I am limited to one connection to the AP. It just doesn't work. No debug message, no nothing. Not even the phone returns an error. Which is rather strange I'd say...
This is how I set up AP Mode.
Code: Select all
//------------------------- logOutput(String)
void logOutput(String string1) {
circle.push(string1);
Serial.println(string1);
}
logOutput((String)"Starting AP ... ");
logOutput(WiFi.softAP(ssidAP, passwordAP) ? "Ready" : "WiFi.softAP failed ! (Password must be at least 8 characters long )");
delay(500);
logOutput((String)"Setting AP configuration ... ");
logOutput(WiFi.softAPConfig(local_IP_AP, local_IP_AP, subnetAP) ? "Ready" : "Failed!");
delay(500);
logOutput((String)"Soft-AP IP address: ");
logOutput(WiFi.softAPIP().toString());
This is the -DCORE_DEBUG_LEVEL=5 aka Verbose :
Code: Select all
[D][WiFiGeneric.cpp:336] _eventCallback(): Event: 15 - AP_STACONNECTED
dhcps: send_offer>>udp_sendto result 0
[D][WiFiGeneric.cpp:336] _eventCallback(): Event: 17 - AP_STAIPASSIGNED
I don't get that when I use the phone first and try to access the AP.
And that is all. No other verbose message.