From 75cfd43bfdab4fb478e1504808a418320f5dcd95 Mon Sep 17 00:00:00 2001 From: Mike Cailean Date: Thu, 7 Jun 2018 16:54:35 -0700 Subject: Add jammer indication Add AGC and jammer indication Change-Id: I93641864338beec368e7a56b3a20b158ea892202 CRs-fixed: 2239155 --- core/LocApiBase.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'core/LocApiBase.h') diff --git a/core/LocApiBase.h b/core/LocApiBase.h index b50a973..538db30 100644 --- a/core/LocApiBase.h +++ b/core/LocApiBase.h @@ -116,6 +116,7 @@ protected: close(); LOC_API_ADAPTER_EVENT_MASK_T getEvtMask(); LOC_API_ADAPTER_EVENT_MASK_T mMask; + uint32_t mNmeaMask; LocApiBase(LOC_API_ADAPTER_EVENT_MASK_T excludedMask, ContextBase* context = NULL); inline virtual ~LocApiBase() { @@ -154,12 +155,15 @@ public: GpsLocationExtended& locationExtended, enum loc_sess_status status, LocPosTechMask loc_technology_mask = - LOC_POS_TECH_MASK_DEFAULT); + LOC_POS_TECH_MASK_DEFAULT, + GnssDataNotification* pDataNotify = nullptr, + int msInWeek = -1); void reportSv(GnssSvNotification& svNotify); void reportSvMeasurement(GnssSvMeasurementSet &svMeasurementSet); void reportSvPolynomial(GnssSvPolynomial &svPolynomial); void reportStatus(LocGpsStatusValue status); void reportNmea(const char* nmea, int length); + void reportData(GnssDataNotification& dataNotify, int msInWeek); void reportXtraServer(const char* url1, const char* url2, const char* url3, const int maxlength); void requestXtraData(); @@ -262,6 +266,7 @@ public: void updateEvtMask(); + void updateNmeaMask(uint32_t mask); virtual LocationError setGpsLockSync(GnssConfigGpsLock lock); -- cgit v1.2.3