Sending Serial Data over UDP using Netcat in Terminal
I would like to be able to send serial data over UDP to another application. Eventually I wish to make this process into a shell script or something of the like because I will be running it on a linux based device.
In terminal I have tried this:
nc -u 10.0.1.3 7000 < /dev/tty.usbmodemfa121
IP: 10.0.1.3
Port: 7000
Serial: /dev/tty.usbmodemfa121
The udp port is openned but no data is being transfered or read.
If I leave it like this:
nc -u 10.0.1.3 700
I am able to send manually typed keyboard keys to my recieving application.
Does anyone have any ideas on what the problem is, or an easier cross-platform way to send Serial Data over UDP?
Stephen