diff options
author | Tim O'Shea <tim.oshea753@gmail.com> | 2014-05-11 16:04:24 -0400 |
---|---|---|
committer | Tim O'Shea <tim.oshea753@gmail.com> | 2014-05-11 16:04:24 -0400 |
commit | d165f27dd41d34400bac89220f219b9ba6f7438e (patch) | |
tree | 22e3bcbb2744c013bb77041e534a0e6c82cbac06 /gr-blocks/grc | |
parent | 432e3b75300a400e2e99dbe7e9aea58b6b2855b1 (diff) |
blocks: pdu_filter, add option for filter match inversion
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r-- | gr-blocks/grc/blocks_pdu_filter.xml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gr-blocks/grc/blocks_pdu_filter.xml b/gr-blocks/grc/blocks_pdu_filter.xml index a9565c9b9c..1fb7209500 100644 --- a/gr-blocks/grc/blocks_pdu_filter.xml +++ b/gr-blocks/grc/blocks_pdu_filter.xml @@ -9,7 +9,7 @@ <key>blocks_pdu_filter</key> <import>from gnuradio import blocks</import> <import>import pmt</import> - <make>blocks.pdu_filter($k, $v)</make> + <make>blocks.pdu_filter($k, $v, $invert)</make> <param> <name>Key</name> <key>k</key> @@ -22,6 +22,20 @@ <value>pmt.intern("value")</value> <type>raw</type> </param> + <param> + <name>Invert Filter</name> + <key>invert</key> + <value>False</value> + <type>enum</type> + <option> + <name>No</name> + <key>False</key> + </option> + <option> + <name>Yes</name> + <key>True</key> + </option> + </param> <sink> <name>pdus</name> <type>message</type> |