Skip to content

This parser is a simple NMEA parser, which currently only supports the NMEA type RMC.

License

Notifications You must be signed in to change notification settings

j0d5/NmeaParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NmeaParser

Version License Platform Issues Stargazers TravisCI Status Bitrise Status Carthage compatible

This parser is a simple NMEA parser, which currently only supports the NMEA type RMC. It can be used to get the location data from an NMEA string. Assuming the string will look like this: "$GPRMC,031849.49,A,5209.028,N,00955.836,E,,,310517,,E*7D"

the NmeaParser will return an CLLocation object that contains the course, longitude and latitude.

At the moment, this parser is very basic and under development. There is no guarantee that it will always deliver a valid location.

Usage

Just call NmeaParser.parseSentence(data: String) -> CLLocation.

Requirements

Installation

NmeaParser is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "NmeaParser"

Author

Johannes Steudle, tweetjay2@gmail.com

License

NmeaParser is available under the MIT license. See the LICENSE file for more info.