0
I am using netcat in Linux to send and receive data (using udp protocol) from a serial port to another device through the network. The command is :
nc -u 192.168.10.12 < /dev/ttyUSB0 > /dev/ttyUSB0
The USB I am using is a USB to serial 485 converter and I am noticing that the receiver light is not blinking at all while the transmit light is blinking.
I checked whether the messages are been sent and received through the network using tcpdump and I could clearly see that it is transferring the data between my machine and the device machine! I am now thinking it might be netcat problem any ideas ?
Try using TCP. UDP datagrams can get lost or blocked by a firewall without any error being reported. – wingedsubmariner – 2013-11-27T17:23:36.213
I tried that as well, same problem – user573014 – 2013-11-27T18:32:02.133