Lines Matching refs:gpsLocation
480 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_nmea_generate_pos()
497 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_nmea_generate_pos()
573 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_BEARING) in loc_nmea_generate_pos()
575 float magTrack = location.gpsLocation.bearing; in loc_nmea_generate_pos()
578 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_nmea_generate_pos()
585 …(pMarker, lengthRemaining, "$%sVTG,%.1lf,T,%.1lf,M,", talker, location.gpsLocation.bearing, magTra… in loc_nmea_generate_pos()
600 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_SPEED) in loc_nmea_generate_pos()
602 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_nmea_generate_pos()
603 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_nmea_generate_pos()
620 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)) in loc_nmea_generate_pos()
653 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG) in loc_nmea_generate_pos()
655 double latitude = location.gpsLocation.latitude; in loc_nmea_generate_pos()
656 double longitude = location.gpsLocation.longitude; in loc_nmea_generate_pos()
702 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_SPEED) in loc_nmea_generate_pos()
704 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_nmea_generate_pos()
720 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_BEARING) in loc_nmea_generate_pos()
722 length = snprintf(pMarker, lengthRemaining, "%.1lf,", location.gpsLocation.bearing); in loc_nmea_generate_pos()
778 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)) in loc_nmea_generate_pos()
811 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG) in loc_nmea_generate_pos()
813 double latitude = location.gpsLocation.latitude; in loc_nmea_generate_pos()
814 double longitude = location.gpsLocation.longitude; in loc_nmea_generate_pos()
861 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)) in loc_nmea_generate_pos()
910 if ((location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_ALTITUDE) && in loc_nmea_generate_pos()
914 … location.gpsLocation.altitude - locationExtended.altitudeMeanSeaLevel); in loc_nmea_generate_pos()