Skip to content

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

Closed
@lyusupov

Description

@lyusupov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions