Package org.ka2ddo.gps
Interface GPSSentenceParser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface defining a custom parser for a particular NMEA-0183 sentence.
- Author:
- Andrew Pavlin, KA2DDO
-
Method Summary
Modifier and TypeMethodDescriptionparseNMEA0183DataLine
(String line, GpsFix fix, SatelliteCatalog satCatalog, String source) Parse an NMEA-0183 standard data sentence into GPS data structure values.
-
Method Details
-
parseNMEA0183DataLine
Parse an NMEA-0183 standard data sentence into GPS data structure values.- Parameters:
line
- String line to parsefix
- GpsFix data structure to populate, or null if a new one should be allocatedsatCatalog
- SatelliteCatalog data structure to populate, or null if a new one should be allocatedsource
- callsign of source (used only for error messages)- Returns:
- populated data structure if valid sentence parsed, or null if parse failed or does not produce an output
-