Reply To: gpspipe for GGA only

Mark Williams

You can send a PMTK command to the GPS to disable or enable certain NMEA sentences
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 --

Blip, blop, bloop…