diff options
author | Mike Cailean <mcailean@codeaurora.org> | 2018-06-07 16:54:35 -0700 |
---|---|---|
committer | Mike Cailean <mcailean@codeaurora.org> | 2018-08-17 09:15:20 -0700 |
commit | 75cfd43bfdab4fb478e1504808a418320f5dcd95 (patch) | |
tree | 9b3456196dda309ec52ebf4186372296c4c261fb /core/LocApiBase.h | |
parent | 4088ca58bc1e79fa5753050c5d9a183d7e1bd7fa (diff) | |
download | gps-75cfd43bfdab4fb478e1504808a418320f5dcd95.tar.gz |
Add jammer indication
Add AGC and jammer indication
Change-Id: I93641864338beec368e7a56b3a20b158ea892202
CRs-fixed: 2239155
Diffstat (limited to 'core/LocApiBase.h')
-rw-r--r-- | core/LocApiBase.h | 7 |
1 files changed, 6 insertions, 1 deletions
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); |