summaryrefslogtreecommitdiff
path: root/core/SystemStatus.h
diff options
context:
space:
mode:
authorKatz Yamada <kyamada@codeaurora.org>2018-05-11 14:59:44 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2019-05-01 13:42:21 -0700
commit2c71ec9e02ea234106d520717fc36eb4f3ad7c48 (patch)
treec2382520b4b40ec1107b11e8bb660e4f512b7002 /core/SystemStatus.h
parente7c30fa882af46d23f9eddf78fd66cd1bf89a65c (diff)
downloadgps-2c71ec9e02ea234106d520717fc36eb4f3ad7c48.tar.gz
feat: Add timeuncNs in PQWM1 message
Add timeuncNs field in PQWM1 of debug NMEA message generated by modem. SystemStaus to parse it. GnssDebug adds this value in timeunc when it generates GNSS debug report. Change-Id: I649915f95730dc8db22e8b4cb88008edc6d8b9d0 CRs-Fixed: 2236950
Diffstat (limited to 'core/SystemStatus.h')
-rw-r--r--core/SystemStatus.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/SystemStatus.h b/core/SystemStatus.h
index 73a220a..399a6c4 100644
--- a/core/SystemStatus.h
+++ b/core/SystemStatus.h
@@ -116,6 +116,7 @@ public:
int32_t mClockFreqBiasUnc;
int32_t mLeapSeconds;
int32_t mLeapSecUnc;
+ uint64_t mTimeUncNs;
inline SystemStatusTimeAndClock() :
mGpsWeek(0),
mGpsTowMs(0),
@@ -125,7 +126,8 @@ public:
mClockFreqBias(0),
mClockFreqBiasUnc(0),
mLeapSeconds(0),
- mLeapSecUnc(0) {}
+ mLeapSecUnc(0),
+ mTimeUncNs(0ULL) {}
inline SystemStatusTimeAndClock(const SystemStatusPQWM1& nmea);
bool equals(const SystemStatusTimeAndClock& peer);
void dump(void);