Skip to content

Use data from multiple NMEA sentences to create a location

Teemu Ikonen requested to merge tpikonen/geoclue:multi-nmea into master

Introduces a new location object creation function gclue_location_create_from_nmeas which takes an array of NMEA sentences as input and combines information from GGA and RMC sentences (speed and heading from RMC, rest from GGA), if both are present, to create a new location object.

Adapt the NMEA producing sources modem-gps/modem-manager and nmea-source to use the new function and finally delete the now unused single NMEA sentence function gclue_location_create_from_nmea.

Fixes #147 (closed).

Merge request reports