espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.91k stars 7.33k forks source link

run itwt sample and services as udp server can't receive packets from udp client (IDFGH-13137) #14077

Open wangzhi15632 opened 5 months ago

wangzhi15632 commented 5 months ago

Answers checklist.

IDF version.

esp-idf-v5.2.1

Espressif SoC revision.

esp32-c6-devkitc-1 board

Operating System used.

Windows

How did you build your project?

Command line with Make

If you are using Windows, please specify command line type.

None

Development Kit.

ESP32-C6-DevKitC-1

Power Supply used.

USB

What is the expected behavior?

i add udp server sample code to the itwt sample and setup the service period about 10 seconds. then, i write a udp client demo on linux server ubuntu. ubuntu connect route by ethernet. when i run the udp client demo on ubuntun. most of the time, the device can't recevie the packet from the udp client. i think that when the device wakeup, it will recive all packets cached by ap.

What is the actual behavior?

the device rarely receive packets

Steps to reproduce.

  1. use itwt sample and add udp server code.
  2. connect to route
  3. run udp client on ubuntu ...

Debug Logs.

No response

More Information.

No response

QingzhaoYin commented 5 months ago

@wangzhi15632 Could you please provide a packet capture file?