summaryrefslogtreecommitdiff
path: root/gr-analog/grc/analog_simple_squelch_cc.block.yml
blob: 17a98eb4baaac59cfa4627b01731a6c57afe49e8 (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
id: analog_simple_squelch_cc
label: Simple Squelch

parameters:
-   id: threshold
    label: Threshold (dB)
    dtype: real
-   id: alpha
    label: Alpha
    dtype: real

inputs:
-   domain: stream
    dtype: complex

outputs:
-   domain: stream
    dtype: complex

templates:
    imports: from gnuradio import analog
    make: analog.simple_squelch_cc(${threshold}, ${alpha})
    callbacks:
    - set_threshold(${threshold})
    - set_alpha(${alpha})

file_format: 1