diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2009-03-03 19:27:42 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2009-03-03 19:27:42 +0000 |
commit | 8b980caecabb5f25b6204419368b6ebc9dd294fe (patch) | |
tree | 2f0815389380b18b29dd66c0f466032f09434d31 /driver_ubx.h | |
parent | 4d20131409dfac409d331c5b7c8e0ee6c18b85a5 (diff) | |
download | gpsd-8b980caecabb5f25b6204419368b6ebc9dd294fe.tar.gz |
add some more useful flag bits
Diffstat (limited to 'driver_ubx.h')
-rw-r--r-- | driver_ubx.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/driver_ubx.h b/driver_ubx.h index e5102967..fbf08206 100644 --- a/driver_ubx.h +++ b/driver_ubx.h @@ -98,4 +98,20 @@ typedef enum { #define UBX_SOL_VALID_WEEK 0x04 #define UBX_SOL_VALID_TIME 0x08 +/* from UBX_NAV_SVINFO */ +#define UBX_SAT_USED 0x01 +#define UBX_SAT_DGPS 0x02 +#define UBX_SAT_EPHALM 0x04 +#define UBX_SAT_EPHEM 0x08 +#define UBX_SAT_UNHEALTHY 0x10 + +#define UBX_SIG_IDLE 0 +#define UBX_SIG_SRCH1 1 +#define UBX_SIG_SRCH2 2 +#define UBX_SIG_DETECT 3 +#define UBX_SIG_CDLK 4 +#define UBX_SIG_CDCRLK1 5 +#define UBX_SIG_CDCRLK2 6 +#define UBX_SIG_NAVMSG 7 + #endif /* _GPSD_UBX_H_ */ |