I am trying to do a simple UDP send/receive operation using the TM4C1294XL and have looked at other posts but am still confused when I look at various examples provided in the code. There appears to be numerous paradigms for setting up and using a UDP scenario and I don't see the big picture how these fit together, or, possibly represent multiple ways to do the same thing.
When I look at lwiplib.c in TivaWare /utils directory it provides functions for initialization (lwIPInit, lwIPPrivateInit), background interrupt task (lwIPInterruptTask) and background timer (lwIPServiceTimers). But I also see other example code that uses fdOpenSesion(), socket(), bind(), recv() and sendto() calls. Are these two distinct ways of doing the same thing or do they work together somehow?
Which set of functions do I care about? I am using tirtos tasking in my project and will need to incorporate the solution into that.
What I want to do is incredibly simple (Send a string over UDP to a fixed IP address on a dedicated wire and get a string response). I was hoping not to require weeks of studying various examples to do this, so if you could suggest the shortest path and if there is an example for it that would help me out greatly.
Roger