Add AP Timestamp for coarse/fine time to position reports
Change to add APTimestamp field to position reports to carry Coarse or fine timestamp. Change-Id: Iaf5490cb991865d4b6376b0934b306a31528d90c
This commit is contained in:
parent
509979c395
commit
8da6427472
1 changed files with 8 additions and 7 deletions
|
@ -263,6 +263,13 @@ typedef uint16_t GpsLocationExtendedFlags;
|
||||||
/** GpsLocationExtended has valid speed uncertainty */
|
/** GpsLocationExtended has valid speed uncertainty */
|
||||||
#define GPS_LOCATION_EXTENDED_HAS_SPEED_UNC 0x0020
|
#define GPS_LOCATION_EXTENDED_HAS_SPEED_UNC 0x0020
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
struct timespec apTimeStamp;
|
||||||
|
/*boottime received from pps-ktimer*/
|
||||||
|
float apTimeStampUncertaintyMs;
|
||||||
|
/* timestamp uncertainty in milli seconds */
|
||||||
|
}Gnss_ApTimeStampStructType;
|
||||||
|
|
||||||
/** Represents gps location extended. */
|
/** Represents gps location extended. */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/** set to sizeof(GpsLocationExtended) */
|
/** set to sizeof(GpsLocationExtended) */
|
||||||
|
@ -283,6 +290,7 @@ typedef struct {
|
||||||
float vert_unc;
|
float vert_unc;
|
||||||
/** speed uncertainty in m/s */
|
/** speed uncertainty in m/s */
|
||||||
float speed_unc;
|
float speed_unc;
|
||||||
|
Gnss_ApTimeStampStructType timeStamp;
|
||||||
} GpsLocationExtended;
|
} GpsLocationExtended;
|
||||||
|
|
||||||
typedef struct GpsExtLocation_s {
|
typedef struct GpsExtLocation_s {
|
||||||
|
@ -911,13 +919,6 @@ typedef struct
|
||||||
*/
|
*/
|
||||||
} Gnss_ClockMeasurementStructType;
|
} Gnss_ClockMeasurementStructType;
|
||||||
|
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
struct timespec apTimeStamp;
|
|
||||||
/*boottime received from pps-ktimer*/
|
|
||||||
float apTimeStampUncertaintyMs;
|
|
||||||
/* timestamp uncertainty in milli seconds */
|
|
||||||
}Gnss_ApTimeStampStructType;
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue