id: digital_simple_framer
label: Simple Framer
flags: [ python, cpp ]

parameters:
-   id: payload_bytesize
    label: Payload Byte Size
    dtype: int

inputs:
-   domain: stream
    dtype: byte

outputs:
-   domain: stream
    dtype: byte

templates:
    imports: from gnuradio import digital
    make: digital.simple_framer(${payload_bytesize})

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

file_format: 1
