From d57fc75b7fe60b7ae825e1872e03783dfee9612b Mon Sep 17 00:00:00 2001 From: Philippe Kehl Date: Thu, 8 Jan 2026 22:55:32 +0100 Subject: [PATCH] add list of all parser protocols --- fpsdk_common/include/fpsdk_common/parser/types.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fpsdk_common/include/fpsdk_common/parser/types.hpp b/fpsdk_common/include/fpsdk_common/parser/types.hpp index cf20859..a5c3710 100644 --- a/fpsdk_common/include/fpsdk_common/parser/types.hpp +++ b/fpsdk_common/include/fpsdk_common/parser/types.hpp @@ -22,6 +22,7 @@ /* LIBC/STL */ #include +#include #include #include #include @@ -54,6 +55,13 @@ enum class Protocol : int OTHER, //!< Other "message" (unknown or corrupt message, spurious data, line noise, ...) (#PROTOCOL_NAME_OTHER) }; +/** + * @brief List of all protocols + */ +static constexpr std::array ALL_PROTOCOLS = { { Protocol::FP_A, Protocol::FP_B, Protocol::NMEA, + Protocol::UBX, Protocol::RTCM3, Protocol::UNI_B, Protocol::NOV_B, Protocol::SBF, Protocol::QGC, Protocol::SPARTN, + Protocol::OTHER } }; + /** * @name Protocol names * @{