Hi,
I have a GPS module that connects serially at 9600 baud.
By default it spews out lots of info that I don't need.
e.g.
GNGGA,222834.000,4533.27299,N,12251.66723,W,1,15,0.8,72.8,M,-21.1,M,,*46
GNGSA,A,3,02,07,08,13,14,15,17,21,22,30,,,1.4,0.8,1.1,1*34
GPGSV,3,1,12,01,,,23,02,18,079,30,07,38,113,28,08,17,042,25,0*58
GPGSV,3,3,12,19,17,188,,21,17,066,09,22,66,259,29,30,70,106,33,0*63
BDGSV,2,2,06,35,40,088,25,42,12,207,,0*77
GNVTG,18.46,T,,M,0.00,N,0.00,K,A*18
GPTXT,01,01,01,ANTENNA OK*35
GNGLL,4533.27299,N,12251.66723,W,222835.000,A,A*5C
GNGSA,A,3,14,24,26,33,35,,,,,,,,1.4,0.8,1.1,4*38.
I only need the GGA type sentences.
According to the spec, you can send a command to limit the
output to only GGA sentences with this command:
"$PMTK314,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0*29\r\n"
However, after sending this command to the GPS module,
there is no effect on the output. It is still spewing out the same
amount of excess data as before.
Anyone have any experience with controlling GPS module output?
What am I forgetting?
Thanks,
Scott