Tool/software: TI-RTOS
Hello,
I am using a TM4C1294NCPDT in a system with one of its tasks being to act as a TCP/IP - UART bridge between the outside world and some onboard serial devices. The TM4C has to receive TCP/IP traffic and put it into the UART line and also receive UART traffic and put it into the TCP/IP.
So far, coding the TCP/IP -> UART part seems to have been pretty easy - I have a large buffer holding my received TCP/IP bytes that are sent out over UART in a lower priority task when there is no TCP/IP traffic coming/going.
However, the UART -> TCP/IP part seems trickier to me as I do not know how to initiate a TCP/IP transaction by the microcontroller when it has not first been "talked to" by the external computer over TCP/IP. My question, thus, is: How can I run a TCP/IP TX transaction without first getting an RX transaction from the outside world? Is that possible, and if not, how can I achieve the UART -> TCP/IP transaction?
Thank you,
svl123