summaryrefslogtreecommitdiff
path: root/gr-digital/grc/digital_hdlc_deframer_bp.block.yml
blob: 95abf56d643935e476de7f0cc61ed3bbee55e3e7 (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
id: digital_hdlc_deframer_bp
label: HDLC Deframer
flags: [ python, cpp ]

parameters:
-   id: min
    label: Min length
    dtype: int
    default: '32'
-   id: max
    label: Max length
    dtype: int
    default: '500'

inputs:
-   domain: stream
    dtype: byte

outputs:
-   domain: message
    id: out

templates:
    imports: from gnuradio import digital
    make: digital.hdlc_deframer_bp(${min}, ${max})

cpp_templates:
    includes: ['#include <gnuradio/digital/hdlc_deframer_bp.h>']
    declarations: 'digital::hdlc_deframer_bp::sptr ${id};'
    make: |-
        this->${id} = digital::hdlc_deframer_bp::make(
            ${min},
            ${max});
    link: ['gnuradio::gnuradio-digital']

file_format: 1