diff options
Diffstat (limited to 'src/fsm/ubx.h')
-rw-r--r-- | src/fsm/ubx.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/fsm/ubx.h b/src/fsm/ubx.h index 2af5705..e80464e 100644 --- a/src/fsm/ubx.h +++ b/src/fsm/ubx.h @@ -80,6 +80,23 @@ typedef enum ubx_state_e UBXSTATE_CKB } ubx_state_t; +#define GPSFIX_3D 0x3 + +// UBX messages to enable these messages on the I2C port +#define UBX_ENABLE_NAV_SOL \ + 0xB5, 0x62, 0x06, 0x01, 0x08, 0x00, \ + 0x01, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, \ + 0x17, 0xDB + +#define UBX_ENABLE_NAV_TIMEUTC \ + 0xB5, 0x62, 0x06, 0x01, 0x08, 0x00, \ + 0x01, 0x21, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, \ + 0x32, 0x98 + +#define UBX_ENABLE_TIM_TM2 \ + 0xB5, 0x62, 0x06, 0x01, 0x08, 0x00, \ + 0x0D, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, \ + 0x20, 0x26 typedef struct ubx_nav_sol_s { |