Page 1 of 1

Delayed ping response

Posted: Mon May 11, 2020 1:06 am
by akarg96
Hi.
I'm looking into the response of the ESP32's WIFI.
Using the example in esp-idf/examples/wifi/getting_started/station, I connected the ESP32 Devkit4 to the AP. I ran ping -i 0.2 192.168.0.160 from an Ubuntu machine (18.04LTS) connected to the AP, and here's the result.

The average is about 1-4ms, but sometimes there is a delay of 10-20ms.
Do you know what caused it? This problem also arises in other examples of using WIFI.
I have added

Code: Select all

esp_wifi_set_ps(WIFI_PS_NONE);
google translation

Re: Delayed ping response

Posted: Tue May 12, 2020 8:32 am
by IntrepidUniverse
Hi akarg96,

Do you see the same behaviour if from the Ubuntu machine you ping a different device connected to the same AP?