aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edi/TagPacket.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-05-11 21:30:35 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-05-11 21:30:35 +0200
commited1a35bf8bf8be0e3f3b12c2e9332dfcd86a817b (patch)
tree6bbbcfb086b74381146c63fbc73b882b82495279 /lib/edi/TagPacket.h
parent9a30ccf89e93f970832465ae1c443c684ba9e0bf (diff)
downloadODR-SourceCompanion-ed1a35bf8bf8be0e3f3b12c2e9332dfcd86a817b.tar.gz
ODR-SourceCompanion-ed1a35bf8bf8be0e3f3b12c2e9332dfcd86a817b.tar.bz2
ODR-SourceCompanion-ed1a35bf8bf8be0e3f3b12c2e9332dfcd86a817b.zip
Update common
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;
};