Enable Measurement and poly for QDR for automotive usecase
We need to enable Measurement and polynomial reports and need to send it to QDR Core for it to compute fix and report back DR fix, hence need to enable them in automotive QDR use case Change-Id: I8ad29402ded424bbc5a4fd9f6cab74fa7b09f86b CRs-Fixed: 2017935
This commit is contained in:
parent
279d118562
commit
681388fa8d
1 changed files with 12 additions and 0 deletions
|
@ -1007,6 +1007,18 @@ GnssAdapter::updateClientsEventMask()
|
|||
mask |= LOC_API_ADAPTER_BIT_GNSS_MEASUREMENT;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
** For Automotive use cases we need to enable MEASUREMENT and POLY
|
||||
** when QDR is enabled
|
||||
*/
|
||||
if(1 == ContextBase::mGps_conf.EXTERNAL_DR_ENABLED) {
|
||||
mask |= LOC_API_ADAPTER_BIT_GNSS_MEASUREMENT;
|
||||
mask |= LOC_API_ADAPTER_BIT_GNSS_SV_POLYNOMIAL_REPORT;
|
||||
|
||||
LOC_LOGD("%s]: Auto usecase, Enable MEAS/POLY - mask 0x%x", __func__, mask);
|
||||
}
|
||||
|
||||
updateEvtMask(mask, LOC_REGISTRATION_MASK_SET);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue