I'm using GPS S1216-R1 module to connect to MSP430-G2553. I'm programming this with Energia IDE. But, the result is rolling again and again on the serial monitor. I don't know how to extract the longitude and latitude from the result. Please can anybody help me or suggest me the right place to find the answer.:?:
If you want to get GPGGA then see if G is received, if yes, then check if next character is P, like that check the 5 characters. If it is GPGGA then read till line break is received. This will give you GPGGA sentence. Similarly if you need GPRMC then check the 5 characters and if true then read till next line break.