Skip to content

Uses a ring buffer mechanism to read from file/rs232. Populates GPSInfo struct with the parsed data from GPGGA string. Checks for checksum too.

Notifications You must be signed in to change notification settings

gauravduggal/GPS_Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

compile with gcc main.c -o a run with ./a

Working:

1). This parser reads data from GPS.txt and fills a ring buffer. On finding a valid nmea 0183 string it returns that from the ring buffer. It checks for the checksum so garbage on the rs232 line / from file does not affect the data.

2). Another function decodes data from the GPGGA string.

3). Can be easily modified to work with RS232 directly.

About

Uses a ring buffer mechanism to read from file/rs232. Populates GPSInfo struct with the parsed data from GPGGA string. Checks for checksum too.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages