hello,
1 - install
socat in your linux distro
2 - launch this command in a terminal :
socat -d -d PTY: PTY:
if it is good you can see in your terminal window something like this :
2013/08/20 03:41:03 socat[4275] N PTY is /dev/pts/5
2013/08/20 03:41:03 socat[4275] N PTY is /dev/pts/6
2013/08/20 03:41:03 socat[4275] N starting data transfer loop with FDs [3,3] and [5,5]
if you have successfully compiled the example of lazserial
sertest:
1 - launch sertest
2 - in port settings/port enter your first virtual serial port ( ex for me /dev/pts/5) don't use combo button because virtual serial ports are not detected)
3 - close the port settings window and click on the open button.
4 - launch another sertest
5 - in port settings/port enter your second virtual serial port ( ex for me /dev/pts/6)
6 - close the port settings window and click on the open button.
7 - in your first sertest check RMC and click on the start simulator button.
8 - if all is good , you can see RMC frames in the memo of the second sertest like this :
$GPRMC,035654,A,4851.184,N,00220.977,E,000.5,054.7,200813,020.3,E*71
friendly, J.P