struct mrpt::obs::gnss::nv_oem6_short_header_tΒΆ

Novatel OEM6 short header structure.

See also:

mrpt::obs::CObservationGPS

#include <mrpt/obs/gnss_messages_novatel.h>

struct nv_oem6_short_header_t
{
    // enums

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

    //
fields

    uint8_t synch[3] {0, 0, 0};
    uint8_t msg_len {0};
    uint16_t msg_id {0};
    uint16_t week {0};
    uint32_t ms_in_week {0};

    //
methods

    void fixEndianness();
};