diff options
author | Dante Russo <drusso@codeaurora.org> | 2014-12-15 17:47:50 -0800 |
---|---|---|
committer | Dante Russo <drusso@codeaurora.org> | 2015-01-16 13:22:20 -0800 |
commit | 407848e5cfc87c375e95215a85f6445c396a26c6 (patch) | |
tree | 4f7e1b9354e665ae72af42837ab7d62136233e3d /core/LocApiBase.h | |
parent | 7601d648288de33f30f2a66f1e8095d650785a8c (diff) | |
download | gps-407848e5cfc87c375e95215a85f6445c396a26c6.tar.gz |
GNSS measurement
Implementation of GNSS Measurements support.
In GPS HAL, Only GPS Measurements report
will be collected from modem.
CRs-fixed: 771496
Change-Id: Ief4368099df4ff573ad1a764f4156d63685e936d
Diffstat (limited to 'core/LocApiBase.h')
-rw-r--r-- | core/LocApiBase.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/LocApiBase.h b/core/LocApiBase.h index f68cf73..414769b 100644 --- a/core/LocApiBase.h +++ b/core/LocApiBase.h @@ -130,6 +130,7 @@ public: void reportDataCallClosed(); void requestNiNotify(GpsNiNotification ¬ify, const void* data); void saveSupportedMsgList(uint64_t supportedMsgList); + void reportGpsMeasurementData(GpsData &gpsMeasurementData); // downward calls // All below functions are to be defined by adapter specific modules: @@ -237,7 +238,18 @@ public: -1 on failure */ virtual int getGpsLock(void); + virtual enum loc_api_adapter_err setXtraVersionCheck(enum xtra_version_check check); + + /* + Update gps reporting events + */ + virtual int updateRegistrationMask(LOC_API_ADAPTER_EVENT_MASK_T event, + loc_registration_mask_status isEnabled); + /* + Check if the modem support the service + */ + virtual bool gnssConstellationConfig(); }; typedef LocApiBase* (getLocApi_t)(const MsgTask* msgTask, |