687 lines
14 KiB
Plaintext
687 lines
14 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_block
|
|
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, 12.0]
|
|
rotation: 0
|
|
state: enabled
|
|
|
|
blocks:
|
|
- name: CAN
|
|
id: variable
|
|
parameters:
|
|
comment: 'Channel Access Number: 0..15'
|
|
value: '0'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [176, 12.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: df
|
|
id: variable_qtgui_range
|
|
parameters:
|
|
comment: ''
|
|
gui_hint: qtgui_tab_widget_0@0:1,1
|
|
label: Frequency offset
|
|
min_len: '200'
|
|
orient: QtCore.Qt.Horizontal
|
|
rangeType: float
|
|
start: '0'
|
|
step: '.001'
|
|
stop: '.2'
|
|
value: '0'
|
|
widget: counter_slider
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [360, 12.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: noise
|
|
id: variable_qtgui_range
|
|
parameters:
|
|
comment: ''
|
|
gui_hint: qtgui_tab_widget_0@0:2,1
|
|
label: Noise amplitude
|
|
min_len: '200'
|
|
orient: QtCore.Qt.Horizontal
|
|
rangeType: float
|
|
start: '0'
|
|
step: '.01'
|
|
stop: '5'
|
|
value: '0'
|
|
widget: counter_slider
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [496, 12.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: samp_rate
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: '48000'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [256, 12.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: threshold
|
|
id: variable_qtgui_range
|
|
parameters:
|
|
comment: ''
|
|
gui_hint: qtgui_tab_widget_0@0:3,1
|
|
label: Detection threshold
|
|
min_len: '200'
|
|
orient: QtCore.Qt.Horizontal
|
|
rangeType: float
|
|
start: '0.0'
|
|
step: '.1'
|
|
stop: '10.0'
|
|
value: '2.0'
|
|
widget: counter_slider
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [632, 12.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: variable_qtgui_check_box_0
|
|
id: variable_qtgui_check_box
|
|
parameters:
|
|
comment: ''
|
|
'false': '0.0'
|
|
gui_hint: qtgui_tab_widget_0@0:4,1
|
|
label: AFC
|
|
'true': '1.0'
|
|
type: real
|
|
value: '0.0'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [784, 12.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: analog_frequency_modulator_fc_0
|
|
id: analog_frequency_modulator_fc
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
sensitivity: (2*math.pi*800.0)/samp_rate
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [760, 208.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: analog_quadrature_demod_cf_0
|
|
id: analog_quadrature_demod_cf
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
gain: samp_rate/(2*math.pi*800.0)
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [368, 336.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: blocks_file_sink_0
|
|
id: blocks_file_sink
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
append: 'False'
|
|
comment: ''
|
|
file: /tmp/dump.bin
|
|
type: byte
|
|
unbuffered: 'False'
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1536, 248.0]
|
|
rotation: 0
|
|
state: disabled
|
|
- name: blocks_moving_average_xx_0
|
|
id: blocks_moving_average_xx
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
length: int(0.1*samp_rate)
|
|
max_iter: '4000'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
scale: 1/int(0.1*samp_rate)
|
|
type: float
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [384, 504.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: blocks_multiply_const_vxx_0
|
|
id: blocks_multiply_const_vxx
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
const: variable_qtgui_check_box_0
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
type: float
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [632, 528.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: blocks_null_sink_0
|
|
id: blocks_null_sink
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
bus_structure_sink: '[[0,],]'
|
|
comment: ''
|
|
num_inputs: '1'
|
|
type: byte
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1496, 344.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: blocks_sub_xx_0
|
|
id: blocks_sub_xx
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
num_inputs: '2'
|
|
type: float
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [648, 344.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: '4800'
|
|
type: float
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [400, 200.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: blocks_vector_source_x_0
|
|
id: blocks_vector_source_x
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: Payload
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
repeat: 'True'
|
|
tags: '[]'
|
|
type: byte
|
|
vector: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [8, 192.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: channels_channel_model_0
|
|
id: channels_channel_model
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
block_tags: 'False'
|
|
comment: ''
|
|
epsilon: '1.0'
|
|
freq_offset: df
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
noise_voltage: noise
|
|
seed: '0'
|
|
taps: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [160, 296.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: digital_symbol_sync_xx_0
|
|
id: digital_symbol_sync_xx
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
constellation: digital.constellation_bpsk().base()
|
|
damping: '1.0'
|
|
loop_bw: 2.0*math.pi*0.0015
|
|
max_dev: '0.05'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
nfilters: '128'
|
|
osps: '1'
|
|
pfb_mf_taps: '[]'
|
|
resamp_type: digital.IR_MMSE_8TAP
|
|
sps: '10'
|
|
ted_gain: '1.0'
|
|
ted_type: digital.TED_GARDNER
|
|
type: ff
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [968, 292.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: iio_pluto_sink_0
|
|
id: iio_pluto_sink
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
attenuation1: '10.0'
|
|
bandwidth: '20000000'
|
|
buffer_size: '32768'
|
|
comment: ''
|
|
cyclic: 'False'
|
|
filter: ''
|
|
filter_source: '''Auto'''
|
|
fpass: '0'
|
|
frequency: '435000000'
|
|
fstop: '0'
|
|
len_tag_key: ''
|
|
samplerate: samp_rate*16
|
|
type: fc32
|
|
uri: ''
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1104, 52.0]
|
|
rotation: 0
|
|
state: disabled
|
|
- name: iio_pluto_source_0
|
|
id: iio_pluto_source
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
bandwidth: '20000000'
|
|
bbdc: 'True'
|
|
buffer_size: '32768'
|
|
comment: ''
|
|
filter: ''
|
|
filter_source: '''Auto'''
|
|
fpass: '0'
|
|
frequency: 2400000000-40000
|
|
fstop: '0'
|
|
gain1: '''slow_attack'''
|
|
len_tag_key: packet_len
|
|
manual_gain1: '64'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
quadrature: 'True'
|
|
rfdc: 'True'
|
|
samplerate: samp_rate*16
|
|
type: fc32
|
|
uri: ''
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [24, 428.0]
|
|
rotation: 0
|
|
state: disabled
|
|
- name: import_0
|
|
id: import
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
imports: import math
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [8, 136.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: m17_m17_coder_0
|
|
id: m17_m17_coder
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
debug: 'False'
|
|
dst_id: ALL
|
|
maxoutbuf: '0'
|
|
meta: helloworld
|
|
minoutbuf: '0'
|
|
src_id: AB1CDE
|
|
type: (CAN<<7)|(2<<1)|1
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [200, 176.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: m17_m17_decoder_0
|
|
id: m17_m17_decoder
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
debug_ctrl: 'False'
|
|
debug_data: 'True'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
threshold: threshold
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1312, 320.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: qtgui_eye_sink_x_0
|
|
id: qtgui_eye_sink_x
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
alpha1: '1.0'
|
|
alpha10: '1.0'
|
|
alpha2: '1.0'
|
|
alpha3: '1.0'
|
|
alpha4: '1.0'
|
|
alpha5: '1.0'
|
|
alpha6: '1.0'
|
|
alpha7: '1.0'
|
|
alpha8: '1.0'
|
|
alpha9: '1.0'
|
|
autoscale: 'False'
|
|
axislabels: 'True'
|
|
color1: blue
|
|
color10: blue
|
|
color2: blue
|
|
color3: blue
|
|
color4: blue
|
|
color5: blue
|
|
color6: blue
|
|
color7: blue
|
|
color8: blue
|
|
color9: blue
|
|
comment: ''
|
|
ctrlpanel: 'False'
|
|
entags: 'False'
|
|
grid: 'False'
|
|
gui_hint: qtgui_tab_widget_0@1:1,1
|
|
label1: M17
|
|
label10: Signal 10
|
|
label2: Signal 2
|
|
label3: Signal 3
|
|
label4: Signal 4
|
|
label5: Signal 5
|
|
label6: Signal 6
|
|
label7: Signal 7
|
|
label8: Signal 8
|
|
label9: Signal 9
|
|
legend: 'False'
|
|
marker1: '-1'
|
|
marker10: '-1'
|
|
marker2: '-1'
|
|
marker3: '-1'
|
|
marker4: '-1'
|
|
marker5: '-1'
|
|
marker6: '-1'
|
|
marker7: '-1'
|
|
marker8: '-1'
|
|
marker9: '-1'
|
|
nconnections: '1'
|
|
samp_per_symbol: '1'
|
|
size: '4800'
|
|
srate: '48000'
|
|
style1: '1'
|
|
style10: '1'
|
|
style2: '1'
|
|
style3: '1'
|
|
style4: '1'
|
|
style5: '1'
|
|
style6: '1'
|
|
style7: '1'
|
|
style8: '1'
|
|
style9: '1'
|
|
tr_chan: '0'
|
|
tr_delay: '0'
|
|
tr_level: '0.0'
|
|
tr_mode: qtgui.TRIG_MODE_FREE
|
|
tr_slope: qtgui.TRIG_SLOPE_POS
|
|
tr_tag: '""'
|
|
type: float
|
|
update_time: '0.10'
|
|
width1: '1'
|
|
width10: '1'
|
|
width2: '1'
|
|
width3: '1'
|
|
width4: '1'
|
|
width5: '1'
|
|
width6: '1'
|
|
width7: '1'
|
|
width8: '1'
|
|
width9: '1'
|
|
ylabel: Amplitude
|
|
ymax: '5'
|
|
ymin: '-5'
|
|
yunit: '""'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1312, 216.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: qtgui_tab_widget_0
|
|
id: qtgui_tab_widget
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
gui_hint: ''
|
|
label0: Settings
|
|
label1: Eye diagram
|
|
label10: Tab 10
|
|
label11: Tab 11
|
|
label12: Tab 12
|
|
label13: Tab 13
|
|
label14: Tab 14
|
|
label15: Tab 15
|
|
label16: Tab 16
|
|
label17: Tab 17
|
|
label18: Tab 18
|
|
label19: Tab 19
|
|
label2: Tab 2
|
|
label3: Tab 3
|
|
label4: Tab 4
|
|
label5: Tab 5
|
|
label6: Tab 6
|
|
label7: Tab 7
|
|
label8: Tab 8
|
|
label9: Tab 9
|
|
num_tabs: '2'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [952, 12.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: root_raised_cosine_filter_0
|
|
id: root_raised_cosine_filter
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
alpha: '0.5'
|
|
comment: ''
|
|
decim: '1'
|
|
gain: '10'
|
|
interp: '10'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
ntaps: '81'
|
|
samp_rate: '10'
|
|
sym_rate: '1.0'
|
|
type: interp_fir_filter_fff
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [560, 168.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: root_raised_cosine_filter_0_0
|
|
id: root_raised_cosine_filter
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
alpha: '0.5'
|
|
comment: ''
|
|
decim: '1'
|
|
gain: '1'
|
|
interp: '1'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
ntaps: '81'
|
|
samp_rate: '10'
|
|
sym_rate: '1.0'
|
|
type: fir_filter_fff
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [768, 312.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: virtual_sink_0
|
|
id: virtual_sink
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
stream_id: ''
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1016, 208.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: virtual_source_0
|
|
id: virtual_source
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
stream_id: ''
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [16, 336.0]
|
|
rotation: 0
|
|
state: enabled
|
|
|
|
connections:
|
|
- [analog_frequency_modulator_fc_0, '0', iio_pluto_sink_0, '0']
|
|
- [analog_frequency_modulator_fc_0, '0', virtual_sink_0, '0']
|
|
- [analog_quadrature_demod_cf_0, '0', blocks_moving_average_xx_0, '0']
|
|
- [analog_quadrature_demod_cf_0, '0', blocks_sub_xx_0, '0']
|
|
- [blocks_moving_average_xx_0, '0', blocks_multiply_const_vxx_0, '0']
|
|
- [blocks_multiply_const_vxx_0, '0', blocks_sub_xx_0, '1']
|
|
- [blocks_sub_xx_0, '0', root_raised_cosine_filter_0_0, '0']
|
|
- [blocks_throttle2_0, '0', root_raised_cosine_filter_0, '0']
|
|
- [blocks_vector_source_x_0, '0', m17_m17_coder_0, '0']
|
|
- [channels_channel_model_0, '0', analog_quadrature_demod_cf_0, '0']
|
|
- [digital_symbol_sync_xx_0, '0', m17_m17_decoder_0, '0']
|
|
- [digital_symbol_sync_xx_0, '0', qtgui_eye_sink_x_0, '0']
|
|
- [iio_pluto_source_0, '0', analog_quadrature_demod_cf_0, '0']
|
|
- [m17_m17_coder_0, '0', blocks_throttle2_0, '0']
|
|
- [m17_m17_decoder_0, '0', blocks_file_sink_0, '0']
|
|
- [m17_m17_decoder_0, '0', blocks_null_sink_0, '0']
|
|
- [root_raised_cosine_filter_0, '0', analog_frequency_modulator_fc_0, '0']
|
|
- [root_raised_cosine_filter_0_0, '0', digital_symbol_sync_xx_0, '0']
|
|
- [virtual_source_0, '0', channels_channel_model_0, '0']
|
|
|
|
metadata:
|
|
file_format: 1
|
|
grc_version: 3.10.9.2
|