AeroRust / AeroRust/nmea

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

Aperta
#90 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
109
Fork
64
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.