Erratic ping in "Station" mode

offin_wifi
Posts: 2
Joined: Tue Nov 14, 2023 10:48 pm

Erratic ping in "Station" mode

Postby offin_wifi » Thu Mar 06, 2025 10:11 pm

Hello,

We are using the ESP32-C3 with the AT firmware V3.3.0.0.

In "SoftAP" mode, the ping of the ESP32-C3 is excellent and steady.
In "Station" mode, the ping of the ESP32-C3 is erratic (sometimes < 30 ms and sometimes > 100 ms).

@ other users: could you please tell me about your personal ESP32 ping experience ?

@ Espressif: is it possible to improve the ping in Station mode ?

Thank you in advance for you help.

Sprite
Espressif staff
Espressif staff
Posts: 10593
Joined: Thu Nov 26, 2015 4:08 am

Re: Erratic ping in "Station" mode

Postby Sprite » Fri Mar 07, 2025 12:16 am

Probably because modem power saving is enabled. I don't know how to disable that in AT mode, though.

esp-at
Espressif staff
Espressif staff
Posts: 335
Joined: Mon May 09, 2022 3:00 am

Re: Erratic ping in "Station" mode

Postby esp-at » Fri Mar 07, 2025 2:15 am

Please send `AT+SLEEP=0` command to disable sleep mode.
https://docs.espressif.com/projects/esp ... .html#id39

offin_wifi
Posts: 2
Joined: Tue Nov 14, 2023 10:48 pm

Re: Erratic ping in "Station" mode

Postby offin_wifi » Fri Mar 07, 2025 4:05 pm

Thank you very much for your prompt answer.

Before posting in the forum i was already suspicious regarding the "power control" functions and i was investigating about the command "AT+CWPOWER" but i discovered that the ESP32-C3 does not handle it, and i was not able to find the command "AT+SLEEP".

The ping in Station mode is excellent now with "AT+SLEEP=0", same as in SoftAP mode.

Thank you again !

esp-at
Espressif staff
Espressif staff
Posts: 335
Joined: Mon May 09, 2022 3:00 am

Re: Erratic ping in "Station" mode

Postby esp-at » Tue Mar 18, 2025 3:34 am

no worries

Who is online

Users browsing this forum: No registered users and 1 guest