blob: 9d5a3ba9ca7ecbcb39f3478691712a7de5325961 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
id: blocks_repack_bits_bb
label: Repack Bits
parameters:
- id: k
label: Bits per input byte
dtype: int
default: '1'
- id: l
label: Bits per output byte
dtype: int
default: '8'
- id: len_tag_key
label: Length Tag Key
dtype: string
default: '""'
hide: part
- id: align_output
label: Packet Alignment
dtype: enum
default: 'False'
options: ['True', 'False']
option_labels: [Output, Input]
hide: part
- id: endianness
label: Endianness
dtype: int
default: gr.GR_LSB_FIRST
options: [gr.GR_MSB_FIRST, gr.GR_LSB_FIRST]
option_labels: [MSB, LSB]
hide: part
inputs:
- domain: stream
dtype: byte
outputs:
- domain: stream
dtype: byte
templates:
imports: from gnuradio import blocks
make: blocks.repack_bits_bb(${k}, ${l}, ${len_tag_key}, ${align_output}, ${endianness})
callbacks:
- set_k_and_l(${k},${l})
file_format: 1
|