summaryrefslogtreecommitdiffstats
path: root/lib/edi/ETIWriter.hpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-26 22:20:35 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-12-26 22:20:35 +0100
commit37f5c2d4654580aa9d1195490d4a911b9b079acb (patch)
tree8cd76a87fe430eb0959f759ff7894c6667aa4016 /lib/edi/ETIWriter.hpp
parentfd6d695275f88e83ebba6fa39afc044e329a690f (diff)
downloaddabmod-37f5c2d4654580aa9d1195490d4a911b9b079acb.tar.gz
dabmod-37f5c2d4654580aa9d1195490d4a911b9b079acb.tar.bz2
dabmod-37f5c2d4654580aa9d1195490d4a911b9b079acb.zip
EDI: Handle RFU bits and add some sanity checks
Diffstat (limited to 'lib/edi/ETIWriter.hpp')
-rw-r--r--lib/edi/ETIWriter.hpp5
1 files changed, 5 insertions, 0 deletions
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;
};
}