Open Leadrive opened 3 months ago
建议你们买一个这路由器TY-6201A试下,中国电信送的,闲鱼几十元 一个,这路由器跟esp32相克
esp_wifi_set_ps设置为省电模式,比较容易复现此问题,省电时,经常超时。
Hi @Leadrive 同款路由器已购买,后面我们会尝试本地复现问题并解决。
Hi @Leadrive 同款路由器已购买,后面我们会尝试本地复现问题并解决。
@mhdong Any update?
@Leadrive Can you provide a demo to test?
ESP32-S3 V5.2.2 也有同样的问题
@MosamXu Can you provide a demo to test?
Answers checklist.
IDF version.
v4.4.6
Espressif SoC revision.
ESP32-S3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3
Power Supply used.
USB
What is the expected behavior?
不出现ESP_ERR_MESH_NO_MEMORY
What is the actual behavior?
之前也有人反馈此问题,但没有人解决。https://github.com/espressif/esp-mdf/issues/315 症状是这样的,esp_mesh_send,如果返回ESP_ERR_MESH_TIMEOUT,大约持续10几次,就会开始不断出现ESP_ERR_MESH_NO_MEMORY,然后就一直无法正常运行了,此时堆内存这些都是有的,推测就是mesh库没把发送失败的清除,导致积压。 从应用角度来看,此时并没有收到MESH_EVENT_CHILD_DISCONNECTED, MESH_EVENT_PARENT_DISCONNECTED之类的断开消息,肯定会认为mesh是正常的,还是会不断发送。 root端的日志,看起来很正常,没报任何异常
node端的日志
Steps to reproduce.
故障重现,可能人为在root节点连接的路由器上,制造网络连接不顺,或时断时续,可能容易复现此错误。
Debug Logs.
No response
More Information.
No response