Reply To: gpspipe for GGA only

#7287
Mark Williams
Keymaster

You can send a PMTK command to the GPS to disable or enable certain NMEA sentences
E.g.
This disables all sentences;
echo -e "\$PMTK314,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28\r\n" > /dev/serial0

This will only enable RMC
echo -e "\$PMTK314,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28\r\n" > /dev/serial0

You may need to kill gpsd first to free up the serial interface
sudo killall gpsd

Mark --OzzMaker.com --

Blip, blop, bloop…