diff options
author | Gary E. Miller <gem@rellim.com> | 2019-04-12 15:51:51 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-04-12 15:51:51 -0700 |
commit | cc1b062bcf71356a5eed161dd3478825fb8f147e (patch) | |
tree | f40da000141db26dac003bf5ce1dad779d757a1c /driver_ubx.h | |
parent | 8c2e715d3d912f61bb5c7d5435092f847acf02b1 (diff) | |
download | gpsd-cc1b062bcf71356a5eed161dd3478825fb8f147e.tar.gz |
driver_ubx: More constants.
Diffstat (limited to 'driver_ubx.h')
-rw-r--r-- | driver_ubx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/driver_ubx.h b/driver_ubx.h index 89b4d0eb..ccce48c4 100644 --- a/driver_ubx.h +++ b/driver_ubx.h @@ -23,6 +23,7 @@ typedef enum { UBX_CLASS_LOG = 0x21, /**< Log */ UBX_CLASS_SEC = 0x27, /**< Security */ UBX_CLASS_HNR = 0x28, /**< High Rate Nav Results */ + UBX_CLASS_NMEA = 0xf0, /**< NMEA, for configuring */ } ubx_classes_t; #define UBX_MSGID(cls_, id_) (((cls_)<<8)|(id_)) @@ -232,7 +233,9 @@ typedef enum { #define UBX_NAV_PVT_VALID_DATE 0x01 #define UBX_NAV_PVT_VALID_TIME 0x02 +#define UBX_NAV_PVT_VALID_RESL 0x04 #define UBX_NAV_PVT_VALID_DATE_TIME (UBX_NAV_PVT_VALID_DATE | UBX_NAV_PVT_VALID_TIME) +#define UBX_NAV_PVT_VALID_MAG 0x08 #define UBX_NAV_PVT_FLAG_GPS_FIX_OK 0x01 #define UBX_NAV_PVT_FLAG_DGPS 0x02 |