diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-08-21 14:29:46 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-08-21 14:29:45 -0700 |
commit | 3379b6645dde46d7621b2068e043d636b2dab6c3 (patch) | |
tree | 22e3ebf1e6248a6057e5d126a63bb4be0f206e71 /core/LocApiBase.h | |
parent | a190b2c1164a60a2350b5ed53fa4ef3e2d7e7689 (diff) | |
parent | 75cfd43bfdab4fb478e1504808a418320f5dcd95 (diff) | |
download | gps-3379b6645dde46d7621b2068e043d636b2dab6c3.tar.gz |
Merge "Add jammer indication"
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 75b98a6..ea5e071 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(); @@ -260,6 +264,7 @@ public: void updateEvtMask(); + void updateNmeaMask(uint32_t mask); virtual LocationError setGpsLockSync(GnssConfigGpsLock lock); |