GNSS adapter: Do not send SPE NMEA to engine hub
Engine service does not need SPE NMEA report. Change-Id: I809fa2857eec8292269b640928a44d8cc54308ed CRs-fixed: 2232811
This commit is contained in:
parent
9a8c42c3cb
commit
21308b61a8
2 changed files with 2 additions and 7 deletions
|
@ -81,11 +81,6 @@ public:
|
|||
(void) svPolynomial;
|
||||
return false;
|
||||
}
|
||||
|
||||
inline virtual bool gnssReportNmea(const char* nmea) {
|
||||
(void) nmea;
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
typedef std::function<void(const UlpLocation& ulpLocation,
|
||||
|
|
|
@ -2209,7 +2209,8 @@ GnssAdapter::reportPositionEvent(const UlpLocation& ulpLocation,
|
|||
bool fromUlp,
|
||||
bool fromEngineHub)
|
||||
{
|
||||
LOC_LOGD("%s]: fromUlp %u status %u", __func__, fromUlp, status);
|
||||
LOC_LOGD("%s]: fromUlp %u, from engine hub %u, status %u, tech mask 0x%x",
|
||||
__func__, fromUlp, fromEngineHub, status, techMask);
|
||||
|
||||
// if this event is called from QMI LOC API, then try to call into ULP and return if successfull
|
||||
// if the position is called from ULP or engine hub, then send it out directly
|
||||
|
@ -2456,7 +2457,6 @@ GnssAdapter::reportNmeaEvent(const char* nmea, size_t length, bool fromUlp)
|
|||
{
|
||||
// if this event is not called from ULP, then try to call into ULP and return if successfull
|
||||
if (!fromUlp && !loc_nmea_is_debug(nmea, length)) {
|
||||
mEngHubProxy->gnssReportNmea(nmea);
|
||||
if (mUlpProxy->reportNmea(nmea, length)) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue