Skip to content

gclue-location: Do Not return RMC sentence if previous location is unknown

Chris T requested to merge kop316/geoclue:wip/fix_rmc into master

With geoclue, sometimes I get a lone RMC sentence before the GGA sentence, so the accuracy is GCLUE_LOCATION_ACCURACY_UNKNOWN, which sets to -1. Unfortunately, there is a bug in set_location () where it will accept this.

This will reject this sentences

Edited by Chris T

Merge request reports