Fixposition SDK 0.0.0-heads/main-0-g6666cac
Collection of c++ libraries and apps for use with Fixposition products on Linux
Loading...
Searching...
No Matches
qgc.hpp File Reference

Fixposition SDK: Parser QGC routines and types. More...

#include <cstdint>
Include dependency graph for qgc.hpp:

Go to the source code of this file.

Namespaces

namespace  fpsdk
 Fixposition SDK.
namespace  fpsdk::common
 Fixposition SDK: Common library.
namespace  fpsdk::common::parser
 Parser.
namespace  fpsdk::common::parser::qgc
 Parser QGC routines and types.

Functions

constexpr uint8_t fpsdk::common::parser::qgc::QgcGrpId (const uint8_t *msg)
 Get group ID from message.
constexpr uint8_t fpsdk::common::parser::qgc::QgcMsgId (const uint8_t *msg)
 Get message ID from message.
bool fpsdk::common::parser::qgc::QgcGetMessageName (char *name, const std::size_t size, const uint8_t *msg, const std::size_t msg_size)
 Get QGC message name.
bool fpsdk::common::parser::qgc::QgcGetMessageInfo (char *info, const std::size_t size, const uint8_t *msg, const std::size_t msg_size)
 Get QGC message info.

Variables

static constexpr uint8_t fpsdk::common::parser::qgc::QGC_SYNC_1 = 0x51
 Sync char 1 ('Q')
static constexpr uint8_t fpsdk::common::parser::qgc::QGC_SYNC_2 = 0x47
 Sync char 2 ('G')
static constexpr std::size_t fpsdk::common::parser::qgc::QGC_HEAD_SIZE = 6
 Size of the QGC header.
static constexpr std::size_t fpsdk::common::parser::qgc::QGC_FRAME_SIZE = 8
 Size (in bytes) of QGC frame.
QGC groups and messages (names and IDs)
static constexpr uint8_t fpsdk::common::parser::qgc::QGC_RAW_GRPID = 0x0a
 QGC-RAW group ID.
static constexpr const char * fpsdk::common::parser::qgc::QGC_RAW_STRID = "QGC-RAW"
 QGC-RAW group name.
static constexpr uint8_t fpsdk::common::parser::qgc::QGC_RAW_PPPB2B_MSGID = 0xb2
 QGC-RAW-PPPB2B message ID.
static constexpr const char * fpsdk::common::parser::qgc::QGC_RAW_PPPB2B_STRID = "QGC-RAW-PPPB2B"
 QGC-RAW-PPPB2B message name.
static constexpr uint8_t fpsdk::common::parser::qgc::QGC_RAW_QZSSL6_MSGID = 0xb6
 QGC-RAW-QZSSL6 message ID.
static constexpr const char * fpsdk::common::parser::qgc::QGC_RAW_QZSSL6_STRID = "QGC-RAW-QZSSL6"
 QGC-RAW-QZSSL6 message name.
static constexpr uint8_t fpsdk::common::parser::qgc::QGC_RAW_HASE6_MSGID = 0xe6
 QGC-RAW-HASE6 message ID.
static constexpr const char * fpsdk::common::parser::qgc::QGC_RAW_HASE6_STRID = "QGC-RAW-HASE6"
 QGC-RAW-HASE6 message name.

Detailed Description

Fixposition SDK: Parser QGC routines and types.

* ___    ___
* \  \  /  /
*  \  \/  /   Copyright (c) Fixposition AG (www.fixposition.com) and contributors
*  /  /\  \   License: see the LICENSE file
* /__/  \__\
*
* Based on work by flipflip (https://github.com/phkehl)
* The information on message structures, IDs, descriptions etc. in this file are from publicly available data, such as:
* - LG290P&LGx80P Series, GNSS Protocol Specification, copyright Quectel Wireless Solutions Co
* 

Definition in file qgc.hpp.