Compare commits

1 Commits
main ... main

Author SHA1 Message Date
Nannk
eb22e85906 gr wrapper to use with sdr software 2025-12-15 18:00:03 +01:00
5 changed files with 841 additions and 393 deletions

View File

@@ -28,7 +28,7 @@ options:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [8, 12.0] coordinate: [8, 8]
rotation: 0 rotation: 0
state: enabled state: enabled
@@ -53,18 +53,6 @@ blocks:
coordinate: [192, 12.0] coordinate: [192, 12.0]
rotation: 0 rotation: 0
state: enabled 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: [368, 92.0]
rotation: 0
state: true
- name: FULL_PACKET_LEN - name: FULL_PACKET_LEN
id: parameter id: parameter
parameters: parameters:
@@ -73,13 +61,13 @@ blocks:
hide: none hide: none
label: '' label: ''
short_id: '' short_id: ''
type: intx type: eng_float
value: '4096' value: '4096'
states: states:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [688, 12.0] coordinate: [664, 8.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: OVERSAMPLING - name: OVERSAMPLING
@@ -96,7 +84,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [464, 12.0] coordinate: [448, 8.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: RRC_ALPHA - name: RRC_ALPHA
@@ -113,7 +101,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [584, 12.0] coordinate: [568, 8.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: analog_agc_xx_0 - name: analog_agc_xx_0
@@ -133,7 +121,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [152, 228.0] coordinate: [152, 232.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: blocks_multiply_const_xx_0 - name: blocks_multiply_const_xx_0
@@ -270,6 +258,25 @@ blocks:
coordinate: [616, 496.0] coordinate: [616, 496.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: blocks_tag_debug_0
id: blocks_tag_debug
parameters:
affinity: ''
alias: ''
comment: ''
display: 'True'
filter: '""'
name: ''
num_inputs: '4'
type: byte
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1064.0, 896]
rotation: 270
state: disabled
- name: digital_constellation_decoder_cb_0 - name: digital_constellation_decoder_cb_0
id: digital_constellation_decoder_cb id: digital_constellation_decoder_cb
parameters: parameters:
@@ -425,7 +432,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [1008, 176.0] coordinate: [1008, 184.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: digital_map_bb_0 - name: digital_map_bb_0
@@ -516,7 +523,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [632, 196.0] coordinate: [616, 196.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: filter_fft_rrc_filter_0 - name: filter_fft_rrc_filter_0
@@ -539,7 +546,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [336, 204.0] coordinate: [352, 204.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: pad_sink_0 - name: pad_sink_0
@@ -593,9 +600,27 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [572.0, 360] coordinate: [560.0, 376]
rotation: 270 rotation: 270
state: enabled state: enabled
- name: pad_sink_3
id: pad_sink
parameters:
affinity: ''
alias: ''
comment: ''
label: agc_out
num_streams: '1'
optional: 'True'
type: complex
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [296.0, 376]
rotation: 270
state: disabled
- name: pad_sink_4 - name: pad_sink_4
id: pad_sink id: pad_sink
parameters: parameters:
@@ -631,7 +656,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [8, 252.0] coordinate: [8, 256.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: roc_tolerance - name: roc_tolerance
@@ -648,7 +673,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [1016, 12.0] coordinate: [1000, 8.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: samp_rate - name: samp_rate
@@ -665,7 +690,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [368, 12.0] coordinate: [352, 8.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: satellites_fixedlen_to_pdu_0 - name: satellites_fixedlen_to_pdu_0
@@ -744,6 +769,23 @@ blocks:
coordinate: [1208, 752.0] coordinate: [1208, 752.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: symbol_map
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: ''
short_id: ''
type: ''
value: '[0, 1, 3, 2]'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [352, 96.0]
rotation: 0
state: enabled
- name: syncword - name: syncword
id: parameter id: parameter
parameters: parameters:
@@ -758,7 +800,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [832, 12.0] coordinate: [824, 8.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: virtual_sink_0 - name: virtual_sink_0
@@ -771,7 +813,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [1288, 172.0] coordinate: [1304, 176.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: virtual_source_0 - name: virtual_source_0
@@ -790,6 +832,7 @@ blocks:
connections: connections:
- [analog_agc_xx_0, '0', filter_fft_rrc_filter_0, '0'] - [analog_agc_xx_0, '0', filter_fft_rrc_filter_0, '0']
- [analog_agc_xx_0, '0', pad_sink_3, '0']
- [blocks_multiply_const_xx_0, '0', digital_constellation_decoder_cb_0_0, '0'] - [blocks_multiply_const_xx_0, '0', digital_constellation_decoder_cb_0_0, '0']
- [blocks_multiply_const_xx_0_0, '0', digital_constellation_decoder_cb_0_1, '0'] - [blocks_multiply_const_xx_0_0, '0', digital_constellation_decoder_cb_0_1, '0']
- [blocks_multiply_const_xx_0_1, '0', digital_constellation_decoder_cb_0_2, '0'] - [blocks_multiply_const_xx_0_1, '0', digital_constellation_decoder_cb_0_2, '0']
@@ -801,11 +844,15 @@ connections:
- [digital_constellation_decoder_cb_0_0, '0', digital_map_bb_0_0, '0'] - [digital_constellation_decoder_cb_0_0, '0', digital_map_bb_0_0, '0']
- [digital_constellation_decoder_cb_0_1, '0', digital_map_bb_0_1, '0'] - [digital_constellation_decoder_cb_0_1, '0', digital_map_bb_0_1, '0']
- [digital_constellation_decoder_cb_0_2, '0', digital_map_bb_0_2, '0'] - [digital_constellation_decoder_cb_0_2, '0', digital_map_bb_0_2, '0']
- [digital_correlate_access_code_tag_xx_0, '0', blocks_tag_debug_0, '3']
- [digital_correlate_access_code_tag_xx_0, '0', satellites_fixedlen_to_pdu_0, '0'] - [digital_correlate_access_code_tag_xx_0, '0', satellites_fixedlen_to_pdu_0, '0']
- [digital_correlate_access_code_tag_xx_0_0, '0', blocks_tag_debug_0, '2']
- [digital_correlate_access_code_tag_xx_0_0, '0', satellites_fixedlen_to_pdu_0_0, - [digital_correlate_access_code_tag_xx_0_0, '0', satellites_fixedlen_to_pdu_0_0,
'0'] '0']
- [digital_correlate_access_code_tag_xx_0_1, '0', blocks_tag_debug_0, '1']
- [digital_correlate_access_code_tag_xx_0_1, '0', satellites_fixedlen_to_pdu_0_1, - [digital_correlate_access_code_tag_xx_0_1, '0', satellites_fixedlen_to_pdu_0_1,
'0'] '0']
- [digital_correlate_access_code_tag_xx_0_2, '0', blocks_tag_debug_0, '0']
- [digital_correlate_access_code_tag_xx_0_2, '0', satellites_fixedlen_to_pdu_0_2, - [digital_correlate_access_code_tag_xx_0_2, '0', satellites_fixedlen_to_pdu_0_2,
'0'] '0']
- [digital_costas_loop_cc_0, '0', pad_sink_0, '0'] - [digital_costas_loop_cc_0, '0', pad_sink_0, '0']
@@ -830,3 +877,4 @@ connections:
metadata: metadata:
file_format: 1 file_format: 1
grc_version: 3.10.11.0

View File

@@ -80,9 +80,24 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [64, 308.0] coordinate: [64, 304.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: trailer_len
id: variable_tag_object
parameters:
comment: ''
key: pmt.intern("packet_len")
offset: '0'
src: pmt.intern("src")
value: pmt.from_long(8)
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [168, 504.0]
rotation: 0
state: disabled
- name: OVERSAMPLING - name: OVERSAMPLING
id: parameter id: parameter
parameters: parameters:
@@ -134,9 +149,29 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [384, 316.0] coordinate: [352, 312.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: blocks_repack_bits_bb_1_0_0
id: blocks_repack_bits_bb
parameters:
affinity: ''
alias: ''
align_output: 'False'
comment: ''
endianness: gr.GR_MSB_FIRST
k: '1'
l: '8'
len_tag_key: '""'
maxoutbuf: '0'
minoutbuf: '0'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [456, 512.0]
rotation: 0
state: disabled
- name: blocks_tagged_stream_mux_0 - name: blocks_tagged_stream_mux_0
id: blocks_tagged_stream_mux id: blocks_tagged_stream_mux
parameters: parameters:
@@ -154,7 +189,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [712, 296.0] coordinate: [848, 296.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: blocks_vector_source_x_0_0 - name: blocks_vector_source_x_0_0
@@ -194,9 +229,29 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [168, 308.0] coordinate: [168, 304.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: blocks_vector_source_x_0_0_0_0
id: blocks_vector_source_x
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
repeat: 'True'
tags: '[trailer_len]'
type: byte
vector: preamble
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [272, 504.0]
rotation: 0
state: disabled
- name: digital_constellation_modulator_0 - name: digital_constellation_modulator_0
id: digital_constellation_modulator id: digital_constellation_modulator
parameters: parameters:
@@ -216,7 +271,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [992, 300.0] coordinate: [1096, 312.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: pad_sink_0 - name: pad_sink_0
@@ -234,7 +289,7 @@ blocks:
bus_sink: false bus_sink: false
bus_source: false bus_source: false
bus_structure: null bus_structure: null
coordinate: [1248, 324.0] coordinate: [1352, 336.0]
rotation: 0 rotation: 0
state: enabled state: enabled
- name: pad_source_0 - name: pad_source_0
@@ -297,8 +352,10 @@ connections:
- [blocks_tagged_stream_mux_0, '0', digital_constellation_modulator_0, '0'] - [blocks_tagged_stream_mux_0, '0', digital_constellation_modulator_0, '0']
- [blocks_vector_source_x_0_0, '0', blocks_tagged_stream_mux_0, '0'] - [blocks_vector_source_x_0_0, '0', blocks_tagged_stream_mux_0, '0']
- [blocks_vector_source_x_0_0_0, '0', blocks_repack_bits_bb_1_0, '0'] - [blocks_vector_source_x_0_0_0, '0', blocks_repack_bits_bb_1_0, '0']
- [blocks_vector_source_x_0_0_0_0, '0', blocks_repack_bits_bb_1_0_0, '0']
- [digital_constellation_modulator_0, '0', pad_sink_0, '0'] - [digital_constellation_modulator_0, '0', pad_sink_0, '0']
- [pad_source_0, '0', blocks_tagged_stream_mux_0, '2'] - [pad_source_0, '0', blocks_tagged_stream_mux_0, '2']
metadata: metadata:
file_format: 1 file_format: 1
grc_version: 3.10.11.0

702
onbeat_sw_rx.grc Normal file
View File

@@ -0,0 +1,702 @@
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: RRC_ALPHA
id: variable
parameters:
comment: ''
value: '0.35'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [288, 24.0]
rotation: 0
state: enabled
- name: lpftaps
id: variable_low_pass_filter_taps
parameters:
beta: '6.76'
comment: ''
cutoff_freq: '1350'
gain: '1.0'
samp_rate: samp_rate
value: ''
width: '1000'
win: window.WIN_HAMMING
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [608, 408.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: [184, 24.0]
rotation: 0
state: enabled
- name: ONBEAT_Demod_1
id: ONBEAT_Demod
parameters:
FULL_PACKET_LEN: 8*(4*255+2*16)
OVERSAMPLING: OVERSAMPLING
RRC_ALPHA: RRC_ALPHA
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
roc_tolerance: '0.8'
samp_rate: samp_rate
symbol_map: symbol_map
syncword: syncword
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1040, 244.0]
rotation: 0
state: enabled
- name: OVERSAMPLING
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: ''
short_id: ''
type: intx
value: '24'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [16, 368.0]
rotation: 0
state: enabled
- name: analog_sig_source_x_0
id: analog_sig_source_x
parameters:
affinity: ''
alias: ''
amp: '1'
comment: ''
freq: offset
maxoutbuf: '0'
minoutbuf: '0'
offset: '0'
phase: '0'
samp_rate: samp_rate
showports: 'False'
type: complex
waveform: analog.GR_COS_WAVE
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [416, 272.0]
rotation: 0
state: enabled
- name: audio_source_0
id: audio_source
parameters:
affinity: ''
alias: ''
comment: ''
device_name: ''
maxoutbuf: '0'
minoutbuf: '0'
num_outputs: '2'
ok_to_block: 'True'
samp_rate: samp_rate
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [264, 224.0]
rotation: 0
state: enabled
- name: blocks_multiply_xx_0
id: blocks_multiply_xx
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_inputs: '2'
type: complex
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [640, 288.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: float
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [424, 432.0]
rotation: 0
state: enabled
- name: freq_xlating_fir_filter_xxx_0
id: freq_xlating_fir_filter_xxx
parameters:
affinity: ''
alias: ''
center_freq: '0'
comment: ''
decim: '1'
maxoutbuf: '0'
minoutbuf: '0'
samp_rate: samp_rate
taps: lpftaps
type: ccc
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [760, 288.0]
rotation: 0
state: enabled
- name: hilbert_fc_0
id: hilbert_fc
parameters:
affinity: ''
alias: ''
beta: '6.76'
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_taps: '512'
win: window.WIN_BLACKMAN_hARRIS
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [464, 216.0]
rotation: 0
state: enabled
- 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: [1416, 400.0]
rotation: 0
state: enabled
- name: offset
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: ''
short_id: ''
type: intx
value: '-1500'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [104, 280.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: [1416, 144.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: [1416, 208.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
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: '0'
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: [1040, 144.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: [1416, 312.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: [16, 456.0]
rotation: 0
state: enabled
- name: samp_rate
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: ''
short_id: ''
type: intx
value: '48000'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [16, 280.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: [16, 192.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]
- [analog_sig_source_x_0, '0', blocks_multiply_xx_0, '1']
- [audio_source_0, '0', hilbert_fc_0, '0']
- [audio_source_0, '1', blocks_null_sink_0, '0']
- [blocks_multiply_xx_0, '0', freq_xlating_fir_filter_xxx_0, '0']
- [freq_xlating_fir_filter_xxx_0, '0', ONBEAT_Demod_1, '0']
- [freq_xlating_fir_filter_xxx_0, '0', qtgui_freq_sink_x_0, '0']
- [hilbert_fc_0, '0', blocks_multiply_xx_0, '0']
metadata:
file_format: 1
grc_version: 3.10.12.0

View File

@@ -127,7 +127,7 @@ blocks:
parameters: parameters:
affinity: '' affinity: ''
alias: '' alias: ''
attenuation1: '89.0' attenuation1: '5.0'
bandwidth: '20000000' bandwidth: '20000000'
buffer_size: '32768' buffer_size: '32768'
comment: '' comment: ''

View File

@@ -1,359 +0,0 @@
options:
parameters:
author: HA5PLS
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: GPL 3.0 or later
description: Transmitter flowgraph for onbeat
gen_cmake: 'On'
gen_linking: dynamic
generate_options: qt_gui
hier_block_src_path: '.:'
id: onbeat_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: ONBEAT transmitter - audio
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: '24'
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: samp_rate
id: variable
parameters:
comment: ''
value: '48000'
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_Mod_0
id: ONBEAT_Mod
parameters:
OVERSAMPLING: OVERSAMPLING
RRC_ALPHA: RRC_ALPHA
affinity: ''
alias: ''
comment: ''
data_len: '1'
maxoutbuf: '0'
minoutbuf: '0'
preamble: '[0x33 for i in range(0, 128*2, 8)]'
syncword: syncword
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [480, 268.0]
rotation: 0
state: enabled
- name: analog_sig_source_x_0
id: analog_sig_source_x
parameters:
affinity: ''
alias: ''
amp: '1'
comment: ''
freq: 2700/2
maxoutbuf: '0'
minoutbuf: '0'
offset: '0'
phase: '0'
samp_rate: samp_rate
type: complex
waveform: analog.GR_COS_WAVE
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [480, 404.0]
rotation: 0
state: enabled
- name: audio_sink_0
id: audio_sink
parameters:
affinity: ''
alias: ''
comment: ''
device_name: ''
num_inputs: '1'
ok_to_block: 'True'
samp_rate: samp_rate
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1344, 356.0]
rotation: 0
state: true
- name: blocks_complex_to_real_0
id: blocks_complex_to_real
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [912, 360.0]
rotation: 0
state: enabled
- name: blocks_multiply_const_xx_0
id: blocks_multiply_const_xx
parameters:
affinity: ''
alias: ''
comment: ''
const: '0.1'
maxoutbuf: '0'
minoutbuf: '0'
type: float
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1104, 356.0]
rotation: 0
state: true
- name: blocks_multiply_xx_0
id: blocks_multiply_xx
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_inputs: '2'
type: complex
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [768, 344.0]
rotation: 0
state: true
- 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: tx_port
tcp_no_delay: 'False'
type: TCP_SERVER
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [40, 276.0]
rotation: 0
state: enabled
- name: pdu_pdu_to_tagged_stream_0
id: pdu_pdu_to_tagged_stream
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
tag: packet_len
type: byte
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [240, 300.0]
rotation: 0
state: enabled
- name: qtgui_freq_sink_x_0_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
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: '0'
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: float
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: [1260.0, 432]
rotation: 270
state: true
- 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
- name: tx_port
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: ''
short_id: ''
type: str
value: '50001'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [40, 180.0]
rotation: 0
state: enabled
connections:
- [ONBEAT_Mod_0, '0', blocks_multiply_xx_0, '0']
- [analog_sig_source_x_0, '0', blocks_multiply_xx_0, '1']
- [blocks_complex_to_real_0, '0', blocks_multiply_const_xx_0, '0']
- [blocks_multiply_const_xx_0, '0', audio_sink_0, '0']
- [blocks_multiply_const_xx_0, '0', qtgui_freq_sink_x_0_0, '0']
- [blocks_multiply_xx_0, '0', blocks_complex_to_real_0, '0']
- [network_socket_pdu_1, pdus, pdu_pdu_to_tagged_stream_0, pdus]
- [pdu_pdu_to_tagged_stream_0, '0', ONBEAT_Mod_0, '0']
metadata:
file_format: 1