Skip to content

_parse_rmc method failed to parse NMEA 0183 ver. 4.1 compliant RMC sentence #65

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

Closed
lyusupov opened this issue Sep 6, 2021 · 0 comments · Fixed by #66
Closed

_parse_rmc method failed to parse NMEA 0183 ver. 4.1 compliant RMC sentence #65

lyusupov opened this issue Sep 6, 2021 · 0 comments · Fixed by #66

Comments

@lyusupov
Copy link

lyusupov commented Sep 6, 2021

NMEA 0183 ver. 4.1 compliant RMC sentence has 13 parameters.

Format:

$<TalkerID>RMC,<Timestamp>,<Status>,<Lat>,<N/S>,<Long>,<E/W>,<SOG>,<COG>,<Date>,<MagVa
r>,<MagVarDir>,<mode>,<NavStatus>*<checksum><CR><LF>

Example:

$GNRMC,060512.00,A,3150.788156,N,11711.922383,E,0.0,,311019,,,A,V*1B

However, current Adafruit_CircuitPython_GPS RMC parser rejects the sentence processing entirely.

First filter takes place here

        if data is None or len(data) != 12:
            return False  # Unexpected number of params.

and the second one is there

    if len(param_types) != len(data):
        # The expected number does not match the number of data items
        return None

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