aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edi/TagPacket.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/edi/TagPacket.h')
-rw-r--r--lib/edi/TagPacket.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/edi/TagPacket.h b/lib/edi/TagPacket.h
index 1e40ce7..b53b718 100644
--- a/lib/edi/TagPacket.h
+++ b/lib/edi/TagPacket.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2014
+ Copyright (C) 2020
Matthias P. Braendli, matthias.braendli@mpb.li
http://www.opendigitalradio.org
@@ -39,6 +39,9 @@ namespace edi {
// Assemble function that puts the bytestream together and adds
// padding such that the total length is a multiple of 8 Bytes.
//
+// Alternatively, a raw tagpacket can be used instead of the
+// items list
+//
// ETSI TS 102 821, 5.1 Tag Packet
class TagPacket
{
@@ -48,6 +51,8 @@ class TagPacket
std::list<TagItem*> tag_items;
+ std::vector<uint8_t> raw_tagpacket;
+
private:
unsigned int m_alignment;
};