diff options
author | Mike Cailean <mcailean@codeaurora.org> | 2018-02-06 16:36:27 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-06-16 11:27:26 -0700 |
commit | 7dfa87b244f3acc601c7db5721d6d5ebc50320f3 (patch) | |
tree | b0e99684d2c8b7326d55a2e40fa3e1cc1ef9082b /core/LocApiBase.cpp | |
parent | 271cfd8a00f97f13a937877cc8ef66ef0392a087 (diff) | |
download | gps-7dfa87b244f3acc601c7db5721d6d5ebc50320f3.tar.gz |
Support Multiband feature
Add carrierFrequency to GNSS Measurements
reporting. Also, add AGC level from QMI LOC
message to GNSS measurements (as opposed to
adding it from NMEA debug messages).
CRs-fixed: 2186144
Change-Id: Ia3995ba9e09ef4c68e8922b7570f7af0eb50098a
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 650de92..30fecec 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -320,7 +320,7 @@ void LocApiBase::reportSv(GnssSvNotification& svNotify) sizeof(constellationString) / sizeof(constellationString[0]) - 1) { svNotify.gnssSvs[i].type = GNSS_SV_TYPE_UNKNOWN; } - LOC_LOGV(" %03zu: %*s %02d %f %f %f 0x%02X", + LOC_LOGV(" %03zu: %*s %02d %f %f %f %f 0x%02X", i, 13, constellationString[svNotify.gnssSvs[i].type], @@ -328,6 +328,7 @@ void LocApiBase::reportSv(GnssSvNotification& svNotify) svNotify.gnssSvs[i].cN0Dbhz, svNotify.gnssSvs[i].elevation, svNotify.gnssSvs[i].azimuth, + svNotify.gnssSvs[i].carrierFrequencyHz, svNotify.gnssSvs[i].gnssSvOptionsMask); } // loop through adapters, and deliver to all adapters. |