lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] UDP send/receive example with FreeRTOS


From: Mathias Zenger
Subject: [lwip-users] UDP send/receive example with FreeRTOS
Date: Tue, 21 Apr 2009 07:20:37 +0200

Hi,

Within a FreeRTOS task I'm trying to send out UDP packets to a server
periodically. I would like to receive the replies in the same task.
Currently I am a bit confused about the different ways to handle this.
Basically I tried to use the netconn API and compared some examples I found
on the internet and in the lwIP documentation. E.g. do I have to register a
UDP callback method for the PCB which probably belongs to the raw API? What
are the (dis)advantages of netconn_recv? Can someone provide me a simple but
functional example using the netconn API for receiving/sending UDP
datagrams? Would be nice if it showed the order how to setup UDP
communication properly (even better if it's in context of a FreeRTOS task).

Would be grateful for your help.
Best Regards,
Mathias






reply via email to

[Prev in Thread] Current Thread [Next in Thread]