Page 1 of 1
RX/TX socket buffer sizes for ESP32?
Posted: Thu Jul 05, 2018 4:29 pm
what are the RX/TX socket buffer sizes for the ESP32?
And how many sockets are possible to handle on the ESP32 with MicroPython?
Re: RX/TX socket buffer sizes for ESP32?
Posted: Mon Jul 09, 2018 4:50 pm
Some test results:
I can create 8 different sockets.
After this I will get an OSError21.
each UDP-socket can buffer up to 6 UDP-packets with 1472 bytes (MTU = 1500 bytes). If there are more than 1472 bytes of data in the UDP-packet, the packet will get lost. Every UDP-packet after 6 packets will get lost. It doesn't matter, how large the UDP-packet are... I can send 7 UDP-packets with 1 bytes of data - the last packet will always get lost.