Other Parts Discussed in Thread: EK-TM4C1294XL
I recently got the Tiva Connected launchpad (EK-TM4C1294XL) and I use CCS v5 to program it. I tried the uIP and lwIP examples in the TivaWare folder and all of these seem to work ok.
The issue I am having is that these examples are quite complex for my needs. I would like to be able to send custom UDP datagrams to a destination IP from the launchpad.
Can someone point me in the right direction here, the sheer amount of files in the "third_party" folder is quite daunting. I do not wish to incorporate any DHCP or HTTP functionality for the time being (which the examples seem to be geared towards)
So far I can ping the launchpad successfully when my code is loaded only the launchpad so I know the MAC and PHY are set up correectly and the assigned IP address I gave to the launchpad is good.
So basically I wish to:
>Set up hardware (DONE)
>Set up the host and destination IP's (both static) ( I can assign the launchpad an IP but I cannot find where I can specify a destination IP and 'send')
>Construct a UDP datagram with some custom data (e.g. "Hello World etc.")
>Send this datagram periodically for the destination IP.
The destination IP is just going to be my laptop so I plan on using Wireshark to monitor comms between the launchpad and the laptop.
I have been looking at the lwIP's "rawapi" document and this looks promising but I would still greatly appreciate any advice on how to proceed here. The issue is that the examples are so complex it's hard to get a grasp for whats actually happening !
(note: I am familiar with basic networking and socket programming in C on a windows or linux machine)
Sorry for the very rudimentary question.
Kind Regards,
Jay Long