230 lines
4.5 KiB
Plaintext
230 lines
4.5 KiB
Plaintext
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
|
|
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: '10'
|
|
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: TX 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: samp_rate
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: 1e6
|
|
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: ''
|
|
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: [832, 176.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: lo_freq * 1000000
|
|
fstop: '0'
|
|
len_tag_key: ''
|
|
samplerate: int(samp_rate)
|
|
type: fc32
|
|
uri: ''
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1176, 156.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: [408, 184.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: [608, 208.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
|
|
- 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: [408, 92.0]
|
|
rotation: 0
|
|
state: enabled
|
|
|
|
connections:
|
|
- [ONBEAT_Mod_0, '0', iio_pluto_sink_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
|