[time-nuts] 3339 Interface for Linux? - was New timing receivers?

Paul tic-toc at bodosom.net
Mon Apr 28 19:20:30 EDT 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 &
[1] 19177
# printf "\$PMTK605*31\r\n" > /dev/ttyO4
# $PMTK705,AXN_2.10_3339_2012072601,5223,PA6H,1.0*6A
# fg
grep 'PMTK' /dev/ttyO4
^C
#

You can also turn off NMEA sentences and use a terminal program to talk to
the GPS.

Naturally I don't recommend any of this because it can fail in many ways.


More information about the time-nuts mailing list