I am trying to modify the mcu+ sdk ethernet lwip_cpsw example to connect to a sensor. The sensor requires packets shipped via udp. I have already been able to run the application as is and see information on the console, such as the port, ip address of the board, and then at then end, the CPU load every 5 seconds. I actually had to to into the example.syscfg and enable CCS Log under "Debug_Log" to see all the information. It was disabled by default.
I do not need any of the tcp portions of the code since the sensor requires a udp packet. I am looking for a comprehensive understanding of which macros do not need enabled. It looks like the base values for the macros already allow for both udp and tcp packets to be sent and received. How would I disable TCP only.
Also, for clarification, the example application just shows a demonstration of connecting via ethernet from the host computer to the board and to get the mac address information and ip address, correct? To further understand the application, it looks like the tcpecho and udpecho threads are started and run separately from the main thread. As those are running, the main thread just prints out the CPU load every 5s. Is this a correct understanding? Is any information actually shipped out and received between the host PC and launch pad? I assume I probably also don't need iperf functionality as well. I was able to run it in command line and see successful TCP connection.