diff options
author | Clark Li <clark.li86@gmail.com> | 2017-09-17 04:02:12 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2017-09-19 12:04:24 -0400 |
commit | 3d0da919c75a46cc6ed5a370c32351e710e33b1f (patch) | |
tree | 31edf31c03c754074eac4326b0c43f98d25271da /driver_ubx.h | |
parent | 22de7749a1ff2e2857bee8f360ff1da384f1bc29 (diff) | |
download | gpsd-3d0da919c75a46cc6ed5a370c32351e710e33b1f.tar.gz |
Check valid flags in NAV-TIMEGPS
Split 22a020ec1c2bc85eff681ecacc6d2bb79fdddc9c Support UBX NAV-PVT
Diffstat (limited to 'driver_ubx.h')
-rw-r--r-- | driver_ubx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/driver_ubx.h b/driver_ubx.h index c23efdf7..c4e28fed 100644 --- a/driver_ubx.h +++ b/driver_ubx.h @@ -102,6 +102,10 @@ typedef enum { #define UBX_SOL_VALID_WEEK 0x04 #define UBX_SOL_VALID_TIME 0x08 +#define UBX_TIMEGPS_VALID_TIME 0x01 +#define UBX_TIMEGPS_VALID_WEEK 0x02 +#define UBX_TIMEGPS_VALID_LEAP_SECOND 0x04 + /* from UBX_NAV_SVINFO */ #define UBX_SAT_USED 0x01 #define UBX_SAT_DGPS 0x02 |