From 26b20a9aa0167b64e75b813aaf9b41557b4de3df Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 19 May 2021 14:48:13 +0200 Subject: Common 44ae39c: Make SEQ and PSEQ available on EDI receive and improve error handling --- lib/edioutput/PFT.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/edioutput/PFT.h') diff --git a/lib/edioutput/PFT.h b/lib/edioutput/PFT.h index 4d138c5..42569a0 100644 --- a/lib/edioutput/PFT.h +++ b/lib/edioutput/PFT.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2019 + Copyright (C) 2021 Matthias P. Braendli, matthias.braendli@mpb.li http://www.opendigitalradio.org @@ -32,7 +32,6 @@ #pragma once -#include "config.h" #include #include #include @@ -65,6 +64,8 @@ class PFT // Cut a RSBlock into several fragments that can be transmitted std::vector< std::vector > ProtectAndFragment(AFPacket af_packet); + void OverridePSeq(uint16_t pseq); + private: unsigned int m_k = 207; // length of RS data word unsigned int m_m = 3; // number of fragments that can be recovered if lost -- cgit v1.2.3