2017-03-12, 09:07 PM
I had raised the question for a stand alone vdr in the ocpn cruisers forum and got the advise to use ncat.
What I aim for is a simple way to record the nmea sentences so that I can later load the file into ocpn on any platform and playback the vdr file.
I used the command
ncat localhost -u -l 10109 -o --append-output mylogdata.txt
but always got
Ncat: Got more than one port specification: 10109 mylogdata.txt. QUITTING.
I then used
pi@MyOP:~ $ ncat localhost -u -l 10109 -o mylogdata.txt
but unfortunatly the mylogdata.txt file remains empty.
Has anyone a solution to my confusion? Thanks.
PS: Ultimately I hope to have one toggle icon (with kb short cut) in the task bar to start/stop recording.
Has anyone done this already?
What I aim for is a simple way to record the nmea sentences so that I can later load the file into ocpn on any platform and playback the vdr file.
I used the command
ncat localhost -u -l 10109 -o --append-output mylogdata.txt
but always got
Ncat: Got more than one port specification: 10109 mylogdata.txt. QUITTING.
I then used
pi@MyOP:~ $ ncat localhost -u -l 10109 -o mylogdata.txt
but unfortunatly the mylogdata.txt file remains empty.
Has anyone a solution to my confusion? Thanks.
PS: Ultimately I hope to have one toggle icon (with kb short cut) in the task bar to start/stop recording.
Has anyone done this already?