diff options
author | Helmut Schmidt <Helmut.3.Schmidt@continental-corporation.com> | 2015-12-02 20:47:11 +0100 |
---|---|---|
committer | Helmut Schmidt <Helmut.3.Schmidt@continental-corporation.com> | 2015-12-03 08:54:13 +0100 |
commit | 15027eeab1e188ec88d6e8c2cd6e59c623a7fb35 (patch) | |
tree | a16e9fd9f597cc0141c3b9cd4d0b19713d79e134 /logger/test | |
parent | bd38dc23faffe8cf99bbd0bc726c2466e7f15a9d (diff) | |
download | positioning-15027eeab1e188ec88d6e8c2cd6e59c623a7fb35.tar.gz |
Changes as decided in Wetzlar F2F review session:
GT-3151 "Extend GNSS API to allow to set the satellite system"
GT-3152 "Extend EnhancedPositioning Configuration API to select a set of
Satellite systems instead of only a single satellite system"
GT-3039 "SNS API: In wheel.h, for wheel ticks: Provide wheel ticks since
the last update are provided instead of the rolling counter"
GT-3206 "GNSS/SNS API: Extend API to provide sensor status information"
GT-3219 "Extend GNSS API time structure to provide information about leap
seconds and time scale"
Update Logformat description (95% complete, vehicle-data.h part still
missing)
Diffstat (limited to 'logger/test')
-rw-r--r-- | logger/test/gnsslog.cpp | 6 | ||||
-rw-r--r-- | logger/test/snslog.cpp | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/logger/test/gnsslog.cpp b/logger/test/gnsslog.cpp index be88f17..88b37e5 100644 --- a/logger/test/gnsslog.cpp +++ b/logger/test/gnsslog.cpp @@ -94,7 +94,7 @@ void gnssTimeToString(uint64_t timestamp, uint16_t countdown, const TGNSSTime* t snprintf( str, size-1, //ensure that there is space for null-terminator - "%"PRIu64",%"PRIu16",$GVGNSTIM,%"PRIu64",%04"PRIu16",%02"PRIu8",%02"PRIu8",%02"PRIu8",%02"PRIu8",%02"PRIu8",%03"PRIu16",0X%08X", + "%"PRIu64",%"PRIu16",$GVGNSTIM,%"PRIu64",%04"PRIu16",%02"PRIu8",%02"PRIu8",%02"PRIu8",%02"PRIu8",%02"PRIu8",%03"PRIu16",%02"PRIi8",%u,0X%08X", timestamp, countdown, time->timestamp, @@ -104,7 +104,9 @@ void gnssTimeToString(uint64_t timestamp, uint16_t countdown, const TGNSSTime* t time->hour, time->minute, time->second, - time->ms, + time->ms, + time->scale, + time->leapSeconds, time->validityBits ); str[size-1] = 0; //ensure that string is null-terminated diff --git a/logger/test/snslog.cpp b/logger/test/snslog.cpp index 57c6943..2f2d04f 100644 --- a/logger/test/snslog.cpp +++ b/logger/test/snslog.cpp @@ -89,7 +89,7 @@ void gyroscopeDataToString(uint64_t timestamp, uint16_t countdown, const TGyrosc snprintf( str, size-1, //ensure that there is space for null-terminator - "%"PRIu64",%"PRIu16",$GVSNSGYRO,%"PRIu64",%6.2f,%6.2f,%6.2f,%5.1f,0X%08X", + "%"PRIu64",%"PRIu16",$GVSNSGYR,%"PRIu64",%6.2f,%6.2f,%6.2f,%5.1f,0X%08X", timestamp, countdown, gyroData->timestamp, |