gpspipe for GGA only

Tagged: , ,

This topic contains 3 replies, has 2 voices, and was last updated by  Mark Williams 4 days, 17 hours ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7283

    Noel
    Participant

    How do I modify the gpspipe command to receive GGA strings only? Thanks, Noel

    #7284

    Mark Williams
    Keymaster

    you could pipe it through grep
    gpspipe -r | grep GGA

    Mark --OzzMaker.com --

    #7286

    Noel
    Participant

    Thanks, Mark.  That works certainly.  My deeper interest, however, is to configure the GPS so that it sends only GGA … not that I select just the GGA strings.  I feel that your fantastic Python code gives me much more control over the IMU than I get over the GPS in the absence of similar code.  (Maybe that’s just my ignorance in reading the Antenova literature.)  -Noel

    #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 --

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Blip, blop, bloop…