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

Posted on Apr 17, 2012 9:18 PM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Sending Serial Data over UDP using Netcat in Terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.