struct mrpt::obs::gnss::nv_oem6_header_t

Overview

Novatel OEM6 regular header structure.

See also:

mrpt::obs::CObservationGPS

#include <mrpt/obs/gnss_messages_novatel.h>

struct nv_oem6_header_t
{
    // enums

    enum
    {
        SYNCH0 = 0xAA,
        SYNCH1 = 0X44,
        SYNCH2 = 0x12,
    };

    // fields

    uint8_t synch[3] {0, 0, 0};
    uint8_t hdr_len {0};
    uint16_t msg_id {0};
    uint8_t msg_type {0};
    uint8_t port_addr {0};
    uint16_t msg_len {0};
    uint16_t seq_number {0};
    uint8_t idle_percent {0};
    uint8_t time_status {0};
    uint16_t week {0};
    uint32_t ms_in_week {0};
    uint32_t receiver_status {0};
    uint16_t reserved {0};
    uint16_t receiver_sw_version {0};

    // methods

    void fixEndianness();
};