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 ?