summaryrefslogtreecommitdiff
path: root/utils/loc_nmea.h
diff options
context:
space:
mode:
authorWei Chen <weic@codeaurora.org>2019-09-30 11:46:56 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-10-22 11:55:12 -0700
commit3a84bfac176e1e52ddb010ab61f67d70b67f9fd5 (patch)
tree41d10dcf0f6158d493fb32d6d1d2a8ef302ade1a /utils/loc_nmea.h
parent87923e48c1b0ad158c0ca92bd049524d7ff672fd (diff)
downloadgps-3a84bfac176e1e52ddb010ab61f67d70b67f9fd5.tar.gz
GPS NMEA: enhance gga fix qualtiy for sensor contributed fix
This enhancement will be enabled if CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED is set to 1 in gps.conf. PPP fix w/o sensor: fix quality will now be 59 PPP fix w sensor: fix quality will now be 69 RTK fixed fix w/ sensor: fix quality will now be 64 RTK float fix w/ sensor: 65 DGNSS and/or SBAS correction fix and w/ sensor: 62 GPS fix without correction but and w/ sensor: 61 Change-Id: I7bc1bb5504e023de40f271d97d31c602f27bd94e CRs-fixed: 2537211
Diffstat (limited to 'utils/loc_nmea.h')
-rw-r--r--utils/loc_nmea.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/loc_nmea.h b/utils/loc_nmea.h
index c6c83db..a9cafb7 100644
--- a/utils/loc_nmea.h
+++ b/utils/loc_nmea.h
@@ -79,6 +79,7 @@ void loc_nmea_generate_pos(const UlpLocation &location,
const GpsLocationExtended &locationExtended,
const LocationSystemInfo &systemInfo,
unsigned char generate_nmea,
+ bool custom_gga_fix_quality,
std::vector<std::string> &nmeaArraystr);
#define DEBUG_NMEA_MINSIZE 6