espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.43k stars 7.38k forks source link

taking long time for ping response #7692

Open sushilf opened 1 year ago

sushilf commented 1 year ago

Board

ESP32-WROVER-B(M213DH3264PH3Q0)

Device Description

We're using ESP32-WROVER-B(M213DH3264PH3Q0) module in one of our project named Dosecar which is smart battery operated robotic car moving around our constrained environment.

Hardware Configuration

esp_32.zip ESP32_SCH

we are using one uart port of esp32 for communication with stm32 mcu.

Version

latest master (checkout manually)

IDE Name

Arduino IDE

Operating System

linux ubuntu 20.04

Flash frequency

80 MHz

PSRAM enabled

no

Upload speed

921600

Description

We're facing issue of high packet loss/telnet issue which is not replicable but occurs randomly. We're not able to find the cause. We're using Arduino IDE for firmware development.

Sketch

there is no specific portion which replicate the issue of esp32. we attach the whole code in hardware configuration block.

Debug Message

No error message.

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

lbernstone commented 1 year ago

Try WiFi.setSleep(false);

sushilf commented 1 year ago

i tried this one. but it is not working for me.

sushilf commented 1 year ago

i added following three lines before WiFi.begin().

1) WiFi.mode (WIFI_STA); 2)esp_wifi_set_ps(WIFI_PS_NONE); 3)WiFi.setSleep(false);