AeroRust / AeroRust/nmea

Parsing of vendor-specific extended sentences that are not included in the `SentenceType` fails.

Offen
#90 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
109
Forks
64
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Regardless of the sentence type, if it is correct as NMEA0183, one would expect it to be parsed using `nmea::parse_nmea_sentence`, but parsing fails if it is not included in `SentenceType`.

I don't have any ideas about what to do with the existing `PGRMZ`, but would it be possible to add an enumerator like `VendorExtension(&str)` to the `SentenceType` to handle it?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.