commit | fa32567711e24d7fdb670ca9b1f821b55f6104af | [log] [tgz] |
---|---|---|
author | Dieter Spaar <spaar@mirider.augusta.de> | Wed Jul 18 22:14:01 2012 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Wed Jul 18 22:22:47 2012 +0200 |
tree | 4523c9cc9085b64751dced59977aa083fc1d1a06 | |
parent | ca9517f8fd9636772e1d2f4d6f4a0bd1b6386253 [diff] |
ubx.h: Add definition of struct ubx_nav_timegps
diff --git a/ubx.h b/ubx.h index 7543f59..13ae5fa 100644 --- a/ubx.h +++ b/ubx.h
@@ -201,6 +201,14 @@ 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)(