Slow WiFi after migrating from ESP8266
Posted: Tue Jun 12, 2018 6:02 pm
Hi,
I have a just migrated a project from ESP8266 to ESP32 (ESP-WROOM-32) but I am facing issues with slow WiFi.
The ESP runs a simple TcpServer and responds on a echo command.
Both ESP's are placed close to the WiFi (1m) but the ESP8266 responds in ~17ms and the ESP32 responds in 200ms, which is not very satisfying.
The strange part is, that if I instead of connecting the ESP32 to the WiFi i use the ESP32 AP functionality, the response time goes down to ~17ms, which leads me to think that it is something with the WiFi client.
I have also tried to connect to another WiFi to see if it was my router, but this did not change a thing. The connection is stable, just delayed.
Finally I checked my loop that reads client.connected() and client.available() but no roundtrip takes longer than 10ms, so it is not because other parts of the main application loop are delayed.
Any idea? :/
I have a just migrated a project from ESP8266 to ESP32 (ESP-WROOM-32) but I am facing issues with slow WiFi.
The ESP runs a simple TcpServer and responds on a echo command.
Both ESP's are placed close to the WiFi (1m) but the ESP8266 responds in ~17ms and the ESP32 responds in 200ms, which is not very satisfying.
The strange part is, that if I instead of connecting the ESP32 to the WiFi i use the ESP32 AP functionality, the response time goes down to ~17ms, which leads me to think that it is something with the WiFi client.
I have also tried to connect to another WiFi to see if it was my router, but this did not change a thing. The connection is stable, just delayed.
Finally I checked my loop that reads client.connected() and client.available() but no roundtrip takes longer than 10ms, so it is not because other parts of the main application loop are delayed.
Any idea? :/