Skip to content
pubscout

nmea

3.3.3, released a year ago by ricardoboss.de

Extensible NMEA0183 parser with checksum validation support for GPS devices and sensors.

WASM-ready
$ flutter pub add nmea
Source repository

What it does

Decodes NMEA0183 sentences from string data or streams. Supports custom sentence registration, checksum validation, and multipart messages.

AI-written summary of version 3.3.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Reading and parsing GPS or marine sensor data in Dart or Flutter
  • Processing NMEA sentences from text streams using stream transformers

Skip it when

  • You need high-level mapping or geolocation abstractions rather than raw NMEA sentence parsing

Strengths

  • Extensible sentence definitions with custom parsers
  • Built-in checksum validation
  • Can be used as a StreamTransformer

Weaknesses

  • Requires manual implementation of custom sentence types for proprietary or unhandled NMEA formats

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
0
final decoder = NmeaDecoder()
  ..registerTalkerSentence('ABC', (line) => AbcSentence(raw: line));
final sentence = decoder.decode(r'$--ABC,123456789*5D');

Alternatives

Packages that do the same job and could replace nmea.