On Mon, Apr 28, 2014 at 6:28 PM, Bob Stewart <b...@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.
_______________________________________________
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Reply via email to