[time-nuts] 3339 Interface for Linux? - was New timing receivers?
tic-toc at bodosom.net
Mon Apr 28 23:20:30 UTC 2014
On Mon, Apr 28, 2014 at 6:28 PM, Bob Stewart <bob at evoria.net> wrote:
> even just the ability to separate out the responses to the PMTK commands
> from the NMEA traffic.
A very crude approach that will work if nothing odd is going on and nothing
else is using the port.
Run a 'grep' in the background reading the serial port looking for
proprietary MTK commands. In this case it's process 19177.
Send a command -- PMTK605 -- the output is printed -- PMTK705.
Bring the grep to the foreground and press control-c.
# grep 'PMTK' /dev/ttyO4 &
# printf "\$PMTK605*31\r\n" > /dev/ttyO4
grep 'PMTK' /dev/ttyO4
You can also turn off NMEA sentences and use a terminal program to talk to
Naturally I don't recommend any of this because it can fail in many ways.
More information about the Time-nuts_lists.febo.com