diff options
-rw-r--r-- | lib/edi/ETIDecoder.cpp | 2 | ||||
-rw-r--r-- | lib/edi/ETIDecoder.hpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/edi/ETIDecoder.cpp b/lib/edi/ETIDecoder.cpp index a377692..0a4da54 100644 --- a/lib/edi/ETIDecoder.cpp +++ b/lib/edi/ETIDecoder.cpp @@ -233,6 +233,8 @@ bool ETIDecoder::decode_tagpacket(const std::vector<uint8_t>& value) void ETIDecoder::packet_completed() { + m_received_tagpacket.seq = m_dispatcher.get_seq_info(); + ReceivedTagPacket tp; swap(tp, m_received_tagpacket); m_data_collector.assemble(move(tp)); diff --git a/lib/edi/ETIDecoder.hpp b/lib/edi/ETIDecoder.hpp index e0865ce..3949a14 100644 --- a/lib/edi/ETIDecoder.hpp +++ b/lib/edi/ETIDecoder.hpp @@ -60,6 +60,7 @@ struct eti_stc_data { struct ReceivedTagPacket { std::vector<uint8_t> tagpacket; frame_timestamp_t timestamp; + seq_info_t seq; }; |