diff options
author | Nao Pross <np@0hm.ch> | 2021-11-19 21:29:45 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-11-19 21:29:45 +0100 |
commit | ac8ef5f69a69f11fd202470da68709cd3006d547 (patch) | |
tree | 89cea172b61703acb728e1937dedec0e909da85b /src/gr-fadingui/grc | |
parent | Remove PDF (diff) | |
download | Fading-ac8ef5f69a69f11fd202470da68709cd3006d547.tar.gz Fading-ac8ef5f69a69f11fd202470da68709cd3006d547.zip |
Frames
Diffstat (limited to '')
-rw-r--r-- | src/gr-fadingui/grc/CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/gr-fadingui/grc/fadingui_deframer.block.yml | 38 | ||||
-rw-r--r-- | src/gr-fadingui/grc/fadingui_frame_obj.block.yml | 36 |
3 files changed, 77 insertions, 1 deletions
diff --git a/src/gr-fadingui/grc/CMakeLists.txt b/src/gr-fadingui/grc/CMakeLists.txt index 1fe2b9c..92b6add 100644 --- a/src/gr-fadingui/grc/CMakeLists.txt +++ b/src/gr-fadingui/grc/CMakeLists.txt @@ -20,5 +20,7 @@ install(FILES fadingui_datasource.block.yml fadingui_dearpygui_sink.block.yml - fadingui_xor_frame_sync.block.yml DESTINATION share/gnuradio/grc/blocks + fadingui_xor_frame_sync.block.yml + fadingui_deframer.block.yml + fadingui_frame_obj.block.yml DESTINATION share/gnuradio/grc/blocks ) diff --git a/src/gr-fadingui/grc/fadingui_deframer.block.yml b/src/gr-fadingui/grc/fadingui_deframer.block.yml new file mode 100644 index 0000000..b5d6cfe --- /dev/null +++ b/src/gr-fadingui/grc/fadingui_deframer.block.yml @@ -0,0 +1,38 @@ +id: fadingui_deframer +label: Deframer +category: '[fadingui]' + +templates: + imports: import fadingui + make: fadingui.deframer(frame_obj=${frame_obj}) + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: frame_obj + label: Frame Object + dtype: raw + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +- label: in + domain: stream + dtype: byte + +outputs: +- label: out + domain: stream + dtype: byte + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 diff --git a/src/gr-fadingui/grc/fadingui_frame_obj.block.yml b/src/gr-fadingui/grc/fadingui_frame_obj.block.yml new file mode 100644 index 0000000..8fee3a3 --- /dev/null +++ b/src/gr-fadingui/grc/fadingui_frame_obj.block.yml @@ -0,0 +1,36 @@ +id: fadingui_frame_obj +label: Frame Object +category: '[fadingui]' + +templates: + imports: import fadingui + make: fadingui.frame_obj() + +# Make one 'parameters' list entry for every parameter you want settable from the GUI. +# Keys include: +# * id (makes the value accessible as \$keyname, e.g. in the make entry) +# * label (label shown in the GUI) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +parameters: +- id: preamble + label: Preamble + dtype: raw + default: [0xbe, 0xef] +- id: payload_len + label: Payload length + dtype: int + default: 4096 + +# Make one 'inputs' list entry per input and one 'outputs' list entry per output. +# Keys include: +# * label (an identifier for the GUI) +# * domain (optional - stream or message. Default is stream) +# * dtype (e.g. int, float, complex, byte, short, xxx_vector, ...) +# * vlen (optional - data stream vector length. Default is 1) +# * optional (optional - set to 1 for optional inputs. Default is 0) +inputs: +outputs: + +# 'file_format' specifies the version of the GRC yml format used in the file +# and should usually not be changed. +file_format: 1 |