GPS Format

Hello All,

I have a sketch which will show the GPS data over the serial Monitor. Where the types of format are:-

"GPRMC, GPGGA, GPGLL, GPVTG" etc are coming.

Now I want only to show the GPGGA format only.

How Do I achieve that?

Thanks-
Pokhraj Das

Tell the GPS unit to only send $GPGGA sentences?

Which GPS unit are you using, and are you using any libraries to decode the sentences? (If not, look at NeoGPS.)

The best option is to setup the GPS unit to only send what you want.
The next best option is to ignore sentence types that you do not want.

Hi,
I am using Adafruit_GPS libraries. Is there is any such in-built functions present which I can call to get this job done?

Thanks-
Pokhraj

You could read the library documentation? Or see if Adafruit have a forum?

Pokhraj:
I am using Adafruit_GPS libraries. Is there is any such in-built functions present which I can call to get this job done?

Bear in mind that the commands to configure a GPS will vary between GPS manufacturers, so if a library has this configure funtionality it needs to be for your particular GPS.