views:

19

answers:

0

Hello,

i have been trying to read the NMEA data stream from my GPS receiver connected to a bluetooth module BlueNiceCom3 using various terminal programs (HTerm, MTTTY) but what i received was always like this:

C O"i „ $GPGGA,0i „ 85649.99i „ 9,4900.1i „ 692,N,01i „ 205.7215i „ ,E,0,00,i „ 0.0,433.i „ 7,M,0.0,i „ M,,0000*i „ 67 $GPGi „ SA,A,1,,i „ ,,,,,,,,i „ ,,,0.0,0i „ .0,0.0*3i „ 0

This is just a piece of the data stream which is already correct but what bothers me is these unknown characters 'i „ '. Is it because of the newline?

How should i program using C to remove these odd characters? My GPS receiver is of model GT-750F(L)-Lite.

Regarding the baudrate, i used 9600 since the BlueNiceCom3 use 9600. When i used 4800 just as NMEA specs, the data received would be totally wrong.