summaryrefslogtreecommitdiff
path: root/gr-digital/grc/digital_hdlc_framer_pb.block.yml
blob: 0c38ac46fcf574c3fa53569c078ee58c3fc9847e (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
id: digital_hdlc_framer_pb
label: HDLC Framer
flags: [ python, cpp ]

parameters:
-   id: frame_tag_name
    label: Frame tag name
    dtype: string

inputs:
-   domain: message
    id: in

outputs:
-   domain: stream
    dtype: byte

templates:
    imports: from gnuradio import digital
    make: digital.hdlc_framer_pb(${frame_tag_name})

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

file_format: 1