0

I am using GPS module for my application. I want only the RMC data. So what am I supposed to do in my code to get only this data, i.e all the other formats like GGA,GSA,VTG should be disabled.

Please Help. Thanks

pranathi
  • 383
  • 4
  • 6
  • 16

1 Answers1

1

You cannot disable the other messages, and there is no reason to do so. Some GPS units support commands to enable/disable messages, but it is anything but standard.

Simply use a switch statement in your code on the sentence identifying field, and have a case block for GPRMC.

Brad
  • 159,648
  • 54
  • 349
  • 530