diff options
author | Tom Rondeau <tom@trondeau.com> | 2014-05-16 15:53:35 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2014-05-17 17:45:16 -0400 |
commit | fbe59ce5a58477c6f60cff59b81c0cd3a8e2e024 (patch) | |
tree | f86ec11a417dd3acf0027620ca0b821f3435f2f1 /gr-blocks/grc | |
parent | 86c7f2844331b6759461acf1afbe8e9c60a678a0 (diff) |
blocks: adding an option to swap the order of the output bits of a repack_bits block.
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r-- | gr-blocks/grc/blocks_repack_bits_bb.xml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/gr-blocks/grc/blocks_repack_bits_bb.xml b/gr-blocks/grc/blocks_repack_bits_bb.xml index 4ad5ec631b..47aa73b02c 100644 --- a/gr-blocks/grc/blocks_repack_bits_bb.xml +++ b/gr-blocks/grc/blocks_repack_bits_bb.xml @@ -2,25 +2,29 @@ <name>Repack Bits</name> <key>blocks_repack_bits_bb</key> <import>from gnuradio import blocks</import> - <make>blocks.repack_bits_bb($k, $l, $len_tag_key, $align_output)</make> + <make>blocks.repack_bits_bb($k, $l, $len_tag_key, $align_output, $swap)</make> + <param> <name>Bits per input byte</name> <key>k</key> <value>1</value> <type>int</type> </param> + <param> <name>Bits per output byte</name> <key>l</key> <value>8</value> <type>int</type> </param> + <param> <name>Length Tag Key</name> <key>len_tag_key</key> <value>""</value> <type>string</type> </param> + <param> <name>Packet Alignment</name> <key>align_output</key> @@ -35,6 +39,22 @@ <key>False</key> </option> </param> + + <param> + <name>Swap Bits</name> + <key>swap</key> + <value>False</value> + <type>enum</type> + <option> + <name>Yes</name> + <key>True</key> + </option> + <option> + <name>No</name> + <key>False</key> + </option> + </param> + <sink> <name>in</name> <type>byte</type> |