Add vertical uncertainity field
Add vertical uncertainity field to LocGpsLocation and report whenever possible. CRs-Fixed: 2028902 Change-Id: I2610b0eaf527b516e7a1cac958b82795f535cc06
This commit is contained in:
parent
6cf01fac92
commit
9c212abde1
1 changed files with 4 additions and 0 deletions
|
@ -98,6 +98,8 @@ typedef uint16_t LocGpsLocationFlags;
|
||||||
#define LOC_GPS_LOCATION_HAS_BEARING 0x0008
|
#define LOC_GPS_LOCATION_HAS_BEARING 0x0008
|
||||||
/** LocGpsLocation has valid accuracy. */
|
/** LocGpsLocation has valid accuracy. */
|
||||||
#define LOC_GPS_LOCATION_HAS_ACCURACY 0x0010
|
#define LOC_GPS_LOCATION_HAS_ACCURACY 0x0010
|
||||||
|
/** LocGpsLocation has valid vertical uncertainity */
|
||||||
|
#define LOC_GPS_LOCATION_HAS_VERT_UNCERTAINITY 0x0020
|
||||||
|
|
||||||
/** Flags for the loc_gps_set_capabilities callback. */
|
/** Flags for the loc_gps_set_capabilities callback. */
|
||||||
|
|
||||||
|
@ -545,6 +547,8 @@ typedef struct {
|
||||||
float bearing;
|
float bearing;
|
||||||
/** Represents expected accuracy in meters. */
|
/** Represents expected accuracy in meters. */
|
||||||
float accuracy;
|
float accuracy;
|
||||||
|
/** Represents the expected vertical uncertainity in meters*/
|
||||||
|
float vertUncertainity;
|
||||||
/** Timestamp for the location fix. */
|
/** Timestamp for the location fix. */
|
||||||
LocGpsUtcTime timestamp;
|
LocGpsUtcTime timestamp;
|
||||||
} LocGpsLocation;
|
} LocGpsLocation;
|
||||||
|
|
Loading…
Reference in a new issue