Wifi TCP/UDP too slow

pineapple678
Posts: 1
Joined: Tue Nov 05, 2024 9:54 am

Wifi TCP/UDP too slow

Postby pineapple678 » Tue Nov 05, 2024 10:39 am

Hello
I'm using two ESP32-C6 DevKitM-1 Boards and want to stream data from one to the other.
I've adjusted the code-examples given from espressif (STA/AP, TCP-Client/Host) to work. Now When I stream data (rn just string of 100 - 2000 bytes) the measured throughput with TCP is about 10kByte/s and with UDP 8.5 kByte/s.

Also when I do the test with iPerf with UDP i get about 25 MB/s and with TCP at first < 1MB/s but it stalls and goes to 0.

What can be done about this?

Who is online

Users browsing this forum: Google Adsense [Bot] and 10 guests