Difference between revisions of "PDU Filter"

From GNU Radio
Jump to navigation Jump to search
(→‎Source Files: Updated source links, these blocks are no longer available in the master tree)
Line 21: Line 21:

; C++ files
; C++ files
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/pdu_filter_impl.cc]
: [https://github.com/gnuradio/gnuradio/blob/maint-3.8/gr-blocks/lib/pdu_filter_impl.cc]

; Header files
; Header files
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/pdu_filter_impl.h]
: [https://github.com/gnuradio/gnuradio/blob/maint-3.8/gr-blocks/lib/pdu_filter_impl.h]

; Public header files
; Public header files
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/include/gnuradio/blocks/pdu_filter.h]
: [https://github.com/gnuradio/gnuradio/blob/maint-3.8/gr-blocks/include/gnuradio/blocks/pdu_filter.h]

; Block definition
; Block definition
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/grc/blocks_pdu_filter.block.yml]
: [https://github.com/gnuradio/gnuradio/blob/maint-3.8/gr-blocks/grc/blocks_pdu_filter.block.yml]

Revision as of 15:01, 30 March 2021

Propagates only pdus containing a specific Key-Value pair in meta.


(R): Run-time adjustable

Key (R)
The key to look for.
Value (R)
The value to look for.
Invert Filter (R)
Invert the filter function to propagate all pdus except the ones containing the Key-Value pair.

Example Flowgraph

Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.

Source Files

C++ files
Header files
Public header files
Block definition