ubx.h: Add definition of struct ubx_nav_timegps

This commit is contained in:
Dieter Spaar 2012-07-18 22:14:01 +02:00 committed by Harald Welte
parent ca9517f8fd
commit fa32567711
1 changed files with 8 additions and 0 deletions

8
ubx.h
View File

@ -201,6 +201,14 @@ struct ubx_aid_eph {
uint32_t eph_words[24]; /* Present only if 'present' != 0 */
} __attribute__((packed));
struct ubx_nav_timegps {
uint32_t itow; /* ms */
int32_t ftow; /* ns */
int16_t week;
uint8_t leaps;
uint8_t valid;
uint32_t tacc; /* ns */
} __attribute__((packed));
/* Message handler */
typedef void (*ubx_msg_handler_t)(