summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei (GPS SD) Chen <quic_weic@quicinc.com>2021-12-14 11:47:02 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2022-01-04 11:23:46 -0800
commit0d4589892d10bfe9d2fc54d959e3ea4f92e10d39 (patch)
tree54cce6bd47358ad7e02efc7c6c5267c72914059e
parent6628c47fa80a9819c754290e23e02453600bab37 (diff)
GNSS adapter: restore default configuration
Restore default configuraiton for: 1: NMEA_TAG_BLOCK_GROUPING_ENABLED to 0 2: NI_SUPL_DENY_ON_NFW_LOCKED to 1 3: ENABLE_NMEA_PRINT to 0 Change-Id: I837d93a20b276b115a7be2d8c1d9d4163fd4f2ff CRs-fixed: 3094026
-rw-r--r--core/ContextBase.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/ContextBase.cpp b/core/ContextBase.cpp
index cf4229c..842efaa 100644
--- a/core/ContextBase.cpp
+++ b/core/ContextBase.cpp
@@ -193,6 +193,12 @@ void ContextBase::readConfig()
/* default configuration QTI GNSS H/W */
mGps_conf.GNSS_DEPLOYMENT = 0;
mGps_conf.CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED = 0;
+ /* default NMEA Tag Block Grouping is disabled */
+ mGps_conf.NMEA_TAG_BLOCK_GROUPING_ENABLED = 0;
+ /* default configuration for NI_SUPL_DENY_ON_NFW_LOCKED */
+ mGps_conf.NI_SUPL_DENY_ON_NFW_LOCKED = 1;
+ /* By default NMEA Printing is disabled */
+ mGps_conf.ENABLE_NMEA_PRINT = 0;
#ifdef USE_GLIB
// For LE target, disable by default