diff --git a/core/gps_extended_c.h b/core/gps_extended_c.h index 9cfe12f5..7a359823 100644 --- a/core/gps_extended_c.h +++ b/core/gps_extended_c.h @@ -36,6 +36,7 @@ extern "C" { #include #include #include +#include /** Location has valid source information. */ #define LOCATION_HAS_SOURCE_INFO 0x0020 @@ -905,6 +906,14 @@ typedef struct */ } Gnss_ClockMeasurementStructType; +typedef struct +{ + struct timespec apTimeStamp; + /*boottime received from pps-ktimer*/ + float apTimeStampUncertaintyMs; + /* timestamp uncertainty in milli seconds */ +}Gnss_ApTimeStampStructType; + typedef struct { size_t size; @@ -932,6 +941,8 @@ typedef struct Gnss_LocRcvrClockFrequencyInfoStructType clockFreq; /* Freq */ bool gnssMeasValid; Gnss_ClockMeasurementStructType gnssMeas; + Gnss_ApTimeStampStructType timeStamp; + } GnssSvMeasurementSet; typedef enum