I need "receive" and "send" a single character over TCP.
The PC sends a character to my "TM4C129XDevKit" and my "TM4C129XDevKit" respond with the same character to my PC.
Can you help me ?
Thank you in advance
Daniel Abad
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I need "receive" and "send" a single character over TCP.
The PC sends a character to my "TM4C129XDevKit" and my "TM4C129XDevKit" respond with the same character to my PC.
Can you help me ?
Thank you in advance
Daniel Abad
Have you seen The TCP Echo example showing how to use TCP sockets?Daniel Abad said:The PC sends a character to my "TM4C129XDevKit" and my "TM4C129XDevKit" respond with the same character to my PC.
|
What I need is to convert my "MODBUS SLAVE RTU RS232" that runs very well , to TCP/IP.
I think you got something wrong. Modbus TCP is NOT just Modbus RTU via TCP/IP. I strongly suggest to download,read and compare the specifications.
But, your example is very complex for me.......
And I strongly suggest to start with something less complex. I had been working with implementations for both. Thus, if the presented example already troubles your, then you are in for some very frustrating experiences.
Maybe this reference design will be more useful - 32-bit ARM® Cortex™-M4F MCU based Small form factor Serial-to-Ethernet ConverterDaniel Abad said:What I need is to convert my "MODBUS SLAVE RTU RS232" that runs very well , to TCP/IP.
From a quick look it contains a Modbus /IP TCP Bridge.