Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore talker IDs #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

themadsens
Copy link

The first two letters of the sentence type is the "Talker ID"
These can be safely ignored for the sake of the sentence type and should be too.
For instance, sentences sent from my YDNR-02 NMEA bridge uses "YD" as talker id

@ekspla
Copy link

ekspla commented Feb 12, 2023

It's better to check all of the part than ignoring a part of the sentence, i.e. talker id, before processing; the communication between MCU and receiver might be very noisy.

Why don't you use the module by starting like this?

from micropyGPS import MicropyGPS
gps = MicropyGPS()
gps.supported_sentences = {'YDRMC': MicropyGPS.gprmc, 'YDVTG': MicropyGPS.gpvtg}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants