GET the GPS Longitude from the NMEA $GPGGA sentence
NMEA Longitude data is returned by GPS devices in the NMEA $GPGGA sentence.
To read NMEA Longitude,
- Connect the GPS device to an application such as AT Command Tester that can parse NMEA sentences.
- Parse the $GPGGA string to read the NMEA Longitude.
- NMEA Longitude is returned in degree format.
- The direction on Longitude (East or West) is also returned in the $GPGGA sentence.
Learn more on how to use NMEA in the NMEA GPS tutorial.
