12 namespace fusion_engine {
44 static constexpr uint8_t MESSAGE_VERSION = 0;
47 uint32_t source_seq_number = 0;
52 uint8_t reserved[3] = {0};
75 static constexpr uint8_t MESSAGE_VERSION = 0;
80 uint8_t reserved[2] = {0};
97 static constexpr uint8_t MESSAGE_VERSION = 0;
104 static constexpr uint32_t RESTART_NAVIGATION_ENGINE = 0x00000001;
106 static constexpr uint32_t RESET_GNSS_CORRECTIONS = 0x00000002;
117 static constexpr uint32_t RESET_POSITION_DATA = 0x00000100;
119 static constexpr uint32_t RESET_EPHEMERIS = 0x00000200;
124 static constexpr uint32_t RESET_FAST_IMU_CORRECTIONS = 0x00000400;
136 static constexpr uint32_t RESET_NAVIGATION_ENGINE_DATA = 0x00001000;
145 static constexpr uint32_t RESET_CALIBRATION_DATA = 0x00002000;
153 static constexpr uint32_t RESET_CONFIG = 0x00100000;
166 static constexpr uint32_t REBOOT_GNSS_MEASUREMENT_ENGINE = 0x01000000;
168 static constexpr uint32_t REBOOT_NAVIGATION_PROCESSOR = 0x02000000;
193 static constexpr uint32_t DIAGNOSTIC_LOG_RESET = 0x04000000;
222 static constexpr uint32_t HOT_START = 0x00000001;
248 static constexpr uint32_t WARM_START = 0x00000201;
273 static constexpr uint32_t PVT_RESET = 0x000001FF;
300 static constexpr uint32_t COLD_START = 0x00000FFF;
306 static constexpr uint32_t FACTORY_RESET = 0xFFFFFFFF;
310 uint32_t reset_mask = 0;
337 static constexpr uint8_t MESSAGE_VERSION = 0;
340 int64_t system_time_ns = 0;
343 uint8_t fw_version_length = 0;
346 uint8_t engine_version_length = 0;
349 uint8_t os_version_length = 0;
352 uint8_t rx_version_length = 0;
354 uint8_t reserved[4] = {0};
415 return "NEXAR_BEAM2K";
419 return "SSR_DESKTOP";
421 return "Unrecognized";
429 stream <<
to_string(val) <<
" (" << (int)val <<
")";
455 static constexpr uint8_t MESSAGE_VERSION = 0;
458 int64_t system_time_ns = 0;
464 uint8_t hw_id_length = 0;
467 uint8_t user_id_length = 0;
470 uint8_t receiver_id_length = 0;
472 uint8_t reserved[4] = {0};
528 case EventType::RESET:
531 case EventType::CONFIG_CHANGE:
532 return "Config Change";
534 case EventType::COMMAND:
537 case EventType::COMMAND_RESPONSE:
538 return "Command Response";
546 static constexpr uint8_t MESSAGE_VERSION = 0;
551 uint8_t reserved1[3] = {0};
554 int64_t system_time_ns = 0;
557 uint64_t event_flags = 0;
560 uint16_t event_description_len_bytes = 0;
562 uint8_t reserved2[2] = {0};
584 static constexpr uint8_t MESSAGE_VERSION = 0;
589 static constexpr uint64_t STOP_ENGINE = 0x0000000000000001;
593 static constexpr uint64_t STOP_CURRENT_LOG = 0x0000000000000002;
601 uint64_t shutdown_flags = 0;
602 uint8_t reserved1[8] = {0};
616 static constexpr uint8_t MESSAGE_VERSION = 0;
621 static constexpr uint64_t START_ENGINE = 0x0000000000000001;
626 static constexpr uint64_t START_NEW_LOG = 0x0000000000000002;
634 uint64_t startup_flags = 0;
635 uint8_t reserved1[8] = {0};