cancel
Showing results for 
Search instead for 
Did you mean: 

LWIP freeRTOS and BSD Sockets

FMarr.2
Associate III

Hi,

I have started from a project by Adam Berlinger.

I have two UDP sockets, one receiving data max 500 bytes/s one sending data 200 bytes every 5 seconds and one TCPIP sending 4K every 20 ms.

Netconn Api I have no problem. With BSD sockets, If I work receiving data from UDP socket from a single or maximum 2 clients the UDP socket works well, but if I have 3 or more clients sending data on that UDP port, after a while the sockets returns no data even if they are.

If I ask to print stat at display everything seems to be correct and as I imagined there is full of available memory and of all, no error at UDP level.

Do you have any idea on what is happening? I used the same code on LWIP 1.1 on another microcontroller slower with less memory but no dma, and everything worked very well.

Best Regards 

0 REPLIES 0