id: digital_crc16_async_bb
label: Async CRC16
flags: [ python, cpp, deprecated ]

parameters:
-   id: check
    label: Mode
    dtype: enum
    options: ['False', 'True']
    option_labels: [Generate CRC, Check CRC]

inputs:
-   domain: message
    id: in
    optional: true

outputs:
-   domain: message
    id: out
    optional: true

templates:
    imports: from gnuradio import digital
    make: digital.crc16_async_bb(${check})

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

file_format: 1
