I'm trying to direct data from my
GPS at "/dev/ttyUSB0" to two virtual
serial ports created with "socat" to be used by
OpenCPN and PolarCOM.
I've set up the virtual
serial ports;
max@widget:~$ socat -d -d pty,raw,echo=0 pty,raw,echo=0
2012/07/16 11:32:22 socat[4150] N PTY is /dev/pts/2
2012/07/16 11:32:22 socat[4150] N PTY is /dev/pts/3
2012/07/16 11:32:22 socat[4150] N starting data transfer loop with FDs [3,3] and [5,5]
How do I send data from my
GPS at "/dev/ttyUSB0" to my two virtual ports at "/dev/pts/2" and "/dev/pts/3"
It appears to me that I have configured the virtual ports to send data between each other.
John