From 37f5c2d4654580aa9d1195490d4a911b9b079acb Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 26 Dec 2016 22:20:35 +0100 Subject: EDI: Handle RFU bits and add some sanity checks --- lib/edi/ETIWriter.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/edi/ETIWriter.hpp') diff --git a/lib/edi/ETIWriter.hpp b/lib/edi/ETIWriter.hpp index 001f537..aa907fc 100644 --- a/lib/edi/ETIWriter.hpp +++ b/lib/edi/ETIWriter.hpp @@ -79,6 +79,8 @@ class ETIWriter { void update_mnsc(uint16_t mnsc); + void update_rfu(uint16_t rfu); + void add_subchannel(const eti_stc_data& stc); // Tell the ETIWriter that the AFPacket is complete @@ -109,6 +111,9 @@ class ETIWriter { uint32_t m_seconds; uint16_t m_mnsc = 0xffff; + + // 16 bits: RFU field in EOH + uint16_t m_rfu = 0xffff; }; } -- cgit v1.2.3