From 0330221d51421caa110b8c5dcb567cc3d0620eb9 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 23 Sep 2019 19:59:05 +0200 Subject: Pull common code from 547c789 --- lib/edi/common.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/edi/common.hpp') diff --git a/lib/edi/common.hpp b/lib/edi/common.hpp index 1aa2cb6..5d15f8d 100644 --- a/lib/edi/common.hpp +++ b/lib/edi/common.hpp @@ -94,4 +94,12 @@ class TagDispatcher { std::function m_af_packet_completed; }; +// Data carried inside the ODRv EDI TAG +struct odr_version_data { + std::string version; + uint32_t uptime_s; +}; + +odr_version_data parse_odr_version_data(const std::vector& data); + } -- cgit v1.2.3