gr-m17/examples/m17_tx.grc

243 lines
4.9 KiB
Plaintext

options:
parameters:
author: Wojciech SP5WWP
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: M17 Project, Jan 2024
description: ''
gen_cmake: 'On'
gen_linking: dynamic
generate_options: qt_gui
hier_block_src_path: '.:'
id: m17_tx
max_nouts: '0'
output_language: python
placement: (0,0)
qt_qss_theme: ''
realtime_scheduling: ''
run: 'True'
run_command: '{python} -u {filename}'
run_options: prompt
sizing_mode: fixed
thread_safe_setters: ''
title: M17 loopback demo
window_size: (1000,1000)
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 4.0]
rotation: 0
state: enabled
blocks:
- name: dst_str
id: variable_qtgui_entry
parameters:
comment: ''
entry_signal: editingFinished
gui_hint: ''
label: DST
type: string
value: AB2CDE
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [568, 12.0]
rotation: 0
state: true
- name: meta_str
id: variable_qtgui_entry
parameters:
comment: ''
entry_signal: editingFinished
gui_hint: ''
label: META
type: string
value: Hello!
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [288, 12.0]
rotation: 0
state: true
- name: samp_rate
id: variable
parameters:
comment: ''
value: '4800'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [192, 12.0]
rotation: 0
state: true
- name: src_str
id: variable_qtgui_entry
parameters:
comment: ''
entry_signal: editingFinished
gui_hint: ''
label: SRC
type: string
value: AB1CDE
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [424, 12.0]
rotation: 0
state: true
- name: type_val
id: variable_qtgui_entry
parameters:
comment: ''
entry_signal: editingFinished
gui_hint: ''
label: TYPE
type: int
value: '5'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [712, 12.0]
rotation: 0
state: true
- name: blocks_file_sink_0
id: blocks_file_sink
parameters:
affinity: ''
alias: ''
append: 'False'
comment: '/tmp/fifo2 was created with
mkfifo /tmp/fifo2'
file: /tmp/fifo2
type: float
unbuffered: 'False'
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [880, 200.0]
rotation: 0
state: enabled
- name: blocks_throttle2_0
id: blocks_throttle2
parameters:
affinity: ''
alias: ''
comment: ''
ignoretag: 'True'
limit: auto
maximum: '0.1'
maxoutbuf: '0'
minoutbuf: '0'
samples_per_second: samp_rate
type: float
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [664, 208.0]
rotation: 0
state: true
- name: blocks_vector_source_x_0_2
id: blocks_vector_source_x
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
repeat: 'True'
tags: '[]'
type: byte
vector: (0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00)
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 184.0]
rotation: 0
state: true
- name: end_of_transmission
id: variable_qtgui_msg_push_button
parameters:
comment: ''
gui_hint: ''
label: End of Transmission
msgName: end_of_transmission
relBackgroundColor: default
relFontColor: default
type: string
value: end_of_transmission
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 288.0]
rotation: 0
state: enabled
- name: m17_m17_coder_0
id: m17_m17_coder
parameters:
affinity: ''
alias: ''
can: '0'
comment: ''
debug: 'False'
dst_id: dst_str
encr_subtype: '0'
encr_type: '0'
key: '''\x00\x00\x65\x41\xb0\x93\xff\x00'''
maxoutbuf: '0'
meta: meta_str
minoutbuf: '0'
mode: '1'
priv_key: ''
seed: ''
signed_str: 'False'
src_id: src_str
type: type_val
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [416, 112.0]
rotation: 0
state: true
- name: note_0_2
id: note
parameters:
alias: ''
comment: ''
note: DATA
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [200, 88.0]
rotation: 0
state: true
connections:
- [blocks_throttle2_0, '0', blocks_file_sink_0, '0']
- [blocks_vector_source_x_0_2, '0', m17_m17_coder_0, '0']
- [end_of_transmission, pressed, m17_m17_coder_0, end_of_transmission]
- [m17_m17_coder_0, '0', blocks_throttle2_0, '0']
metadata:
file_format: 1
grc_version: 3.10.11.0