Lines Matching refs:gpsLocation

479     time_t utcTime(location.gpsLocation.timestamp/1000);  in loc_nmea_generate_pos()
496 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_nmea_generate_pos()
590 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_BEARING) in loc_nmea_generate_pos()
592 float magTrack = location.gpsLocation.bearing; in loc_nmea_generate_pos()
595 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_nmea_generate_pos()
602 …(pMarker, lengthRemaining, "$%sVTG,%.1lf,T,%.1lf,M,", talker, location.gpsLocation.bearing, magTra… in loc_nmea_generate_pos()
617 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_SPEED) in loc_nmea_generate_pos()
619 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_nmea_generate_pos()
620 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_nmea_generate_pos()
637 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)) in loc_nmea_generate_pos()
670 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG) in loc_nmea_generate_pos()
672 double latitude = location.gpsLocation.latitude; in loc_nmea_generate_pos()
673 double longitude = location.gpsLocation.longitude; in loc_nmea_generate_pos()
719 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_SPEED) in loc_nmea_generate_pos()
721 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_nmea_generate_pos()
737 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_BEARING) in loc_nmea_generate_pos()
739 length = snprintf(pMarker, lengthRemaining, "%.1lf,", location.gpsLocation.bearing); in loc_nmea_generate_pos()
795 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)) in loc_nmea_generate_pos()
828 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG) in loc_nmea_generate_pos()
830 double latitude = location.gpsLocation.latitude; in loc_nmea_generate_pos()
831 double longitude = location.gpsLocation.longitude; in loc_nmea_generate_pos()
878 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)) in loc_nmea_generate_pos()
927 if ((location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_ALTITUDE) && in loc_nmea_generate_pos()
931 … location.gpsLocation.altitude - locationExtended.altitudeMeanSeaLevel); in loc_nmea_generate_pos()