PC connects to ESP32'AP in more than 30 seconds. Phone in under 5 seconds. Why ?
Posted: Fri Jun 28, 2019 8:36 am
Hello !
The tittle pretty much summarize my issues. I am curios to know if this is a known or normal issue.
I am using Platformio IDE and it's development branch, which gets updates pretty much everyday.
Connecting to the ESP32's AP using a PC or Laptop is taking a looooong time. More than 30 seconds actually. And sometimes it doesn't work.
On the contrary, using a phone takes under 5 seconds.
The code for setting up the AP is pretty straight forward.
Also, one more noteworthy info I have is that while observing this strange issue I noticed that using an Asus G771JM Laptop, that has Intel Dual Band Wireless-AC 7260, I was able to connect pretty much every time, but while using a PC with a ROG Strix Z270E Gaming Motherboard that has a Qualcomm Atheros I was able to connect just twice in many, many tries.
I have a github issue opened as well: https://github.com/espressif/arduino-esp32/issues/2910
But that didn't get me much resolve. That is why I decided to open a thread here as well. Maybe I will get some info out of this.
I would love to hear some of your thoughts on this.
Thank you !
The tittle pretty much summarize my issues. I am curios to know if this is a known or normal issue.
I am using Platformio IDE and it's development branch, which gets updates pretty much everyday.
Code: Select all
[env:esp32doit-devkit-v1]
platform = https://github.com/platformio/platform-espressif32.git
On the contrary, using a phone takes under 5 seconds.
The code for setting up the AP is pretty straight forward.
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());
I have a github issue opened as well: https://github.com/espressif/arduino-esp32/issues/2910
But that didn't get me much resolve. That is why I decided to open a thread here as well. Maybe I will get some info out of this.
I would love to hear some of your thoughts on this.
Thank you !