635 lines
12 KiB
Plaintext
635 lines
12 KiB
Plaintext
options:
|
|
parameters:
|
|
author: HA5PLS
|
|
catch_exceptions: 'True'
|
|
category: '[GRC Hier Blocks]'
|
|
cmake_opt: ''
|
|
comment: ''
|
|
copyright: GPL 3.0 or later
|
|
description: Receiver flowgraph for onbeat
|
|
gen_cmake: 'On'
|
|
gen_linking: dynamic
|
|
generate_options: qt_gui
|
|
hier_block_src_path: '.:'
|
|
id: onbeat_rx
|
|
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: ONBEAT receiver
|
|
window_size: (1000,1000)
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [8, 8]
|
|
rotation: 0
|
|
state: enabled
|
|
|
|
blocks:
|
|
- name: OVERSAMPLING
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: '25'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [288, 12.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: RRC_ALPHA
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: '0.35'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [816, 12.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: lo_freq
|
|
id: variable_qtgui_range
|
|
parameters:
|
|
comment: ''
|
|
gui_hint: ''
|
|
label: RX frequency
|
|
min_len: '200'
|
|
orient: QtCore.Qt.Horizontal
|
|
rangeType: int
|
|
start: '50'
|
|
step: '1'
|
|
stop: '3000'
|
|
value: '433'
|
|
widget: counter_slider
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [192, 92.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: rx_gain
|
|
id: variable_qtgui_range
|
|
parameters:
|
|
comment: ''
|
|
gui_hint: ''
|
|
label: RX gain
|
|
min_len: '200'
|
|
orient: QtCore.Qt.Horizontal
|
|
rangeType: float
|
|
start: '0'
|
|
step: '0.1'
|
|
stop: '49.6'
|
|
value: '20'
|
|
widget: counter_slider
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [160, 256.0]
|
|
rotation: 0
|
|
state: true
|
|
- name: samp_rate
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: 1e4
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [192, 12.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: symbol_map
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: '[0, 1, 3, 2]'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [712, 12.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: ONBEAT_Demod_1
|
|
id: ONBEAT_Demod
|
|
parameters:
|
|
FULL_PACKET_LEN: '4096'
|
|
OVERSAMPLING: '10'
|
|
RRC_ALPHA: '0.35'
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
roc_tolerance: '1'
|
|
samp_rate: 1e6
|
|
symbol_map: '[0, 1, 3, 2]'
|
|
syncword: '"0000011100001001000110110010110101110111100110001010100111111010"'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [728, 412.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- 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: lo_freq * 1000000
|
|
fstop: '0'
|
|
gain1: '''slow_attack'''
|
|
len_tag_key: packet_len
|
|
manual_gain1: '64'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
quadrature: 'True'
|
|
rfdc: 'True'
|
|
samplerate: int(samp_rate)
|
|
type: fc32
|
|
uri: ''
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [344, 380.0]
|
|
rotation: 0
|
|
state: disabled
|
|
- name: network_socket_pdu_1
|
|
id: network_socket_pdu
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
host: 0.0.0.0
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
mtu: '10000'
|
|
port: rx_port
|
|
tcp_no_delay: 'False'
|
|
type: TCP_SERVER
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1104, 572.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: qtgui_const_sink_x_0
|
|
id: qtgui_const_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: '"red"'
|
|
color2: '"red"'
|
|
color3: '"green"'
|
|
color4: '"black"'
|
|
color5: '"cyan"'
|
|
color6: '"magenta"'
|
|
color7: '"yellow"'
|
|
color8: '"dark red"'
|
|
color9: '"dark green"'
|
|
comment: ''
|
|
grid: 'False'
|
|
gui_hint: ''
|
|
label1: ''
|
|
label10: ''
|
|
label2: ''
|
|
label3: ''
|
|
label4: ''
|
|
label5: ''
|
|
label6: ''
|
|
label7: ''
|
|
label8: ''
|
|
label9: ''
|
|
legend: 'True'
|
|
marker1: '0'
|
|
marker10: '0'
|
|
marker2: '0'
|
|
marker3: '0'
|
|
marker4: '0'
|
|
marker5: '0'
|
|
marker6: '0'
|
|
marker7: '0'
|
|
marker8: '0'
|
|
marker9: '0'
|
|
name: '""'
|
|
nconnections: '1'
|
|
size: '128'
|
|
style1: '0'
|
|
style10: '0'
|
|
style2: '0'
|
|
style3: '0'
|
|
style4: '0'
|
|
style5: '0'
|
|
style6: '0'
|
|
style7: '0'
|
|
style8: '0'
|
|
style9: '0'
|
|
tr_chan: '0'
|
|
tr_level: '0.0'
|
|
tr_mode: qtgui.TRIG_MODE_FREE
|
|
tr_slope: qtgui.TRIG_SLOPE_POS
|
|
tr_tag: '""'
|
|
type: complex
|
|
update_time: '0.10'
|
|
width1: '1'
|
|
width10: '1'
|
|
width2: '1'
|
|
width3: '1'
|
|
width4: '1'
|
|
width5: '1'
|
|
width6: '1'
|
|
width7: '1'
|
|
width8: '1'
|
|
width9: '1'
|
|
xmax: '2'
|
|
xmin: '-2'
|
|
ymax: '2'
|
|
ymin: '-2'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1104, 316.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: 'True'
|
|
grid: 'False'
|
|
gui_hint: ''
|
|
label1: Signal 1
|
|
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: 'True'
|
|
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: '128'
|
|
srate: samp_rate
|
|
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: complex
|
|
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: '1'
|
|
ymin: '-1'
|
|
yunit: '""'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1104, 380.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: qtgui_freq_sink_x_0
|
|
id: qtgui_freq_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'
|
|
average: '1.0'
|
|
axislabels: 'True'
|
|
bw: samp_rate*OVERSAMPLING
|
|
color1: '"blue"'
|
|
color10: '"dark blue"'
|
|
color2: '"red"'
|
|
color3: '"green"'
|
|
color4: '"black"'
|
|
color5: '"cyan"'
|
|
color6: '"magenta"'
|
|
color7: '"yellow"'
|
|
color8: '"dark red"'
|
|
color9: '"dark green"'
|
|
comment: ''
|
|
ctrlpanel: 'False'
|
|
fc: lo_freq
|
|
fftsize: '1024'
|
|
freqhalf: 'True'
|
|
grid: 'False'
|
|
gui_hint: ''
|
|
label: Relative Gain
|
|
label1: ''
|
|
label10: ''''''
|
|
label2: ''''''
|
|
label3: ''''''
|
|
label4: ''''''
|
|
label5: ''''''
|
|
label6: ''''''
|
|
label7: ''''''
|
|
label8: ''''''
|
|
label9: ''''''
|
|
legend: 'True'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
name: '""'
|
|
nconnections: '1'
|
|
norm_window: 'False'
|
|
showports: 'False'
|
|
tr_chan: '0'
|
|
tr_level: '0.0'
|
|
tr_mode: qtgui.TRIG_MODE_FREE
|
|
tr_tag: '""'
|
|
type: complex
|
|
units: dB
|
|
update_time: '0.10'
|
|
width1: '1'
|
|
width10: '1'
|
|
width2: '1'
|
|
width3: '1'
|
|
width4: '1'
|
|
width5: '1'
|
|
width6: '1'
|
|
width7: '1'
|
|
width8: '1'
|
|
width9: '1'
|
|
wintype: window.WIN_BLACKMAN_hARRIS
|
|
ymax: '10'
|
|
ymin: '-140'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [776, 224.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: qtgui_time_sink_x_0
|
|
id: qtgui_time_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: dark blue
|
|
color2: red
|
|
color3: green
|
|
color4: black
|
|
color5: cyan
|
|
color6: magenta
|
|
color7: yellow
|
|
color8: dark red
|
|
color9: dark green
|
|
comment: ''
|
|
ctrlpanel: 'False'
|
|
entags: 'True'
|
|
grid: 'False'
|
|
gui_hint: ''
|
|
label1: Signal 1
|
|
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: 'True'
|
|
marker1: '-1'
|
|
marker10: '-1'
|
|
marker2: '-1'
|
|
marker3: '-1'
|
|
marker4: '-1'
|
|
marker5: '-1'
|
|
marker6: '-1'
|
|
marker7: '-1'
|
|
marker8: '-1'
|
|
marker9: '-1'
|
|
name: '""'
|
|
nconnections: '1'
|
|
size: '1024'
|
|
srate: samp_rate/5
|
|
stemplot: 'False'
|
|
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: complex
|
|
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: '1'
|
|
ymin: '-1'
|
|
yunit: '""'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1104, 484.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: rx_port
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: str
|
|
value: '50002'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [408, 92.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: soapy_rtlsdr_source_0
|
|
id: soapy_rtlsdr_source
|
|
parameters:
|
|
affinity: ''
|
|
agc: 'False'
|
|
alias: ''
|
|
bias: 'False'
|
|
bufflen: '16384'
|
|
center_freq: lo_freq
|
|
comment: ''
|
|
dev_args: ''
|
|
freq_correction: '0'
|
|
gain: '20'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
samp_rate: samp_rate*OVERSAMPLING
|
|
type: fc32
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [320, 232.0]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: syncword
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: ''
|
|
short_id: ''
|
|
type: ''
|
|
value: '"0000011100001001000110110010110101110111100110001010100111111010"'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [448, 12.0]
|
|
rotation: 0
|
|
state: enabled
|
|
|
|
connections:
|
|
- [ONBEAT_Demod_1, '0', qtgui_const_sink_x_0, '0']
|
|
- [ONBEAT_Demod_1, '1', qtgui_eye_sink_x_0, '0']
|
|
- [ONBEAT_Demod_1, '2', qtgui_time_sink_x_0, '0']
|
|
- [ONBEAT_Demod_1, out, network_socket_pdu_1, pdus]
|
|
- [soapy_rtlsdr_source_0, '0', ONBEAT_Demod_1, '0']
|
|
- [soapy_rtlsdr_source_0, '0', qtgui_freq_sink_x_0, '0']
|
|
|
|
metadata:
|
|
file_format: 1
|
|
grc_version: 3.10.11.0
|