Delayed ping response

akarg96
Posts: 5
Joined: Wed Nov 27, 2019 2:49 am

Delayed ping response

Postby akarg96 » Mon May 11, 2020 1:06 am

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
Attachments
ping2.png
ping2.png (133.2 KiB) Viewed 2882 times
ping1.png
ping1.png (132.67 KiB) Viewed 2882 times

IntrepidUniverse
Posts: 5
Joined: Wed May 06, 2020 6:06 pm

Re: Delayed ping response

Postby IntrepidUniverse » Tue May 12, 2020 8:32 am

Hi akarg96,

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

Who is online

Users browsing this forum: No registered users and 99 guests