From 4a3fe8539ce0f0830db150d7c8b920d9c0828c0c Mon Sep 17 00:00:00 2001 From: Jacob Gilbert <jacob.gilbert@protonmail.com> Date: Sun, 14 Mar 2021 10:29:08 -0700 Subject: gr-blocks: remove pdu blocks The following have been moved to the new gr::pdu module or to gr::network and are no longer needed in gr::blocks: - pdu (noblock) - pdu_filter block - pdu_remove block - pdu_set block - pdu_to_tagged_stream block - random_pdu block - socket_pdu block - stream_pdu_base (noblock) - tagged_stream_to_pdu block - tcp_connection (noblock) - tuntap_pdu block The digital and FEC modules had a large number of references to the PDU blocks that were moved from gr-blocks to gr-pdu, this updates these changes in example flowgraphs and a few python files. The usage-manual update will be propagated to the wiki so that future exports will remain up to date. Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com> --- gnuradio-runtime/python/gnuradio/gr/qa_flowgraph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnuradio-runtime/python') diff --git a/gnuradio-runtime/python/gnuradio/gr/qa_flowgraph.py b/gnuradio-runtime/python/gnuradio/gr/qa_flowgraph.py index 893b02cb07..a59d0437a5 100644 --- a/gnuradio-runtime/python/gnuradio/gr/qa_flowgraph.py +++ b/gnuradio-runtime/python/gnuradio/gr/qa_flowgraph.py @@ -11,7 +11,7 @@ import time import pmt -from gnuradio import gr, gr_unittest, blocks +from gnuradio import gr, gr_unittest, blocks, pdu class test_flowgraph (gr_unittest.TestCase): @@ -27,7 +27,7 @@ class test_flowgraph (gr_unittest.TestCase): self.tb.start() self.tb.lock() - rem = blocks.pdu_remove(pmt.intern('foo')) + rem = pdu.pdu_remove(pmt.intern('foo')) dbg = blocks.message_debug() self.tb.msg_connect((rem, 'pdus'), (dbg, 'store')) -- cgit v1.2.3