Skip to content

Instantly share code, notes, and snippets.

@daniestevez
Created September 18, 2021 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniestevez/7fceaeef00baef51de650c5f754c123c to your computer and use it in GitHub Desktop.
Save daniestevez/7fceaeef00baef51de650c5f754c123c to your computer and use it in GitHub Desktop.
BINAR-1 work in progress decoder
options:
parameters:
author: daniel
catch_exceptions: 'True'
category: '[GRC Hier Blocks]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
gen_linking: dynamic
generate_options: qt_gui
hier_block_src_path: '.:'
id: binar
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: Not titled yet
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [8, 8]
rotation: 0
state: enabled
blocks:
- name: samp_rate
id: variable
parameters:
comment: ''
value: '96000'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [184, 12]
rotation: 0
state: enabled
- name: blocks_file_source_0
id: blocks_file_source
parameters:
affinity: ''
alias: ''
begin_tag: pmt.PMT_NIL
comment: ''
file: /home/daniel/Descargas/2021_18_03_9600_4800_TM.iq
length: '0'
maxoutbuf: '0'
minoutbuf: '0'
offset: '0'
repeat: 'True'
type: complex
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [32, 156.0]
rotation: 0
state: true
- name: blocks_throttle_0
id: blocks_throttle
parameters:
affinity: ''
alias: ''
comment: ''
ignoretag: 'True'
maxoutbuf: '0'
minoutbuf: '0'
samples_per_second: samp_rate
type: complex
vlen: '1'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [248, 188.0]
rotation: 0
state: true
- name: digital_binary_slicer_fb_0
id: digital_binary_slicer_fb
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [608, 240.0]
rotation: 0
state: true
- 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: '0'
marker10: '-1'
marker2: '-1'
marker3: '-1'
marker4: '-1'
marker5: '-1'
marker6: '-1'
marker7: '-1'
marker8: '-1'
marker9: '-1'
name: '""'
nconnections: '1'
size: '10000'
srate: samp_rate
stemplot: 'False'
style1: '0'
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: '3'
ymin: '-3'
yunit: '""'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [648, 108.0]
rotation: 0
state: true
- name: satellites_check_crc16_ccitt_0
id: satellites_check_crc16_ccitt
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
verbose: 'True'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [960, 368.0]
rotation: 0
state: disabled
- name: satellites_fsk_demodulator_0
id: satellites_fsk_demodulator
parameters:
affinity: ''
alias: ''
baudrate: '9600'
comment: ''
iq: 'True'
maxoutbuf: '0'
minoutbuf: '0'
options: '"--clk_bw 0.1 --disable_dc_block"'
samp_rate: samp_rate
subaudio: 'False'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [408, 172.0]
rotation: 0
state: true
- name: satellites_hexdump_sink_0
id: satellites_hexdump_sink
parameters:
affinity: ''
alias: ''
comment: ''
options: '""'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [1080, 224.0]
rotation: 0
state: true
- name: satellites_sx12xx_check_crc_0
id: satellites_sx12xx_check_crc
parameters:
affinity: ''
alias: ''
comment: ''
final: '0xFFFF'
initial: '0xFFFF'
maxoutbuf: '0'
minoutbuf: '0'
verbose: 'True'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [944, 452.0]
rotation: 0
state: disabled
- name: satellites_sync_to_pdu_packed_0
id: satellites_sync_to_pdu_packed
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
packlen: '88'
sync: '''0111111001010110'''
threshold: '0'
states:
bus_sink: false
bus_source: false
bus_structure: null
coordinate: [752, 220.0]
rotation: 0
state: true
connections:
- [blocks_file_source_0, '0', blocks_throttle_0, '0']
- [blocks_throttle_0, '0', satellites_fsk_demodulator_0, '0']
- [digital_binary_slicer_fb_0, '0', satellites_sync_to_pdu_packed_0, '0']
- [satellites_check_crc16_ccitt_0, ok, satellites_hexdump_sink_0, in]
- [satellites_fsk_demodulator_0, '0', digital_binary_slicer_fb_0, '0']
- [satellites_fsk_demodulator_0, '0', qtgui_time_sink_x_0, '0']
- [satellites_sx12xx_check_crc_0, ok, satellites_hexdump_sink_0, in]
- [satellites_sync_to_pdu_packed_0, out, satellites_check_crc16_ccitt_0, in]
- [satellites_sync_to_pdu_packed_0, out, satellites_hexdump_sink_0, in]
- [satellites_sync_to_pdu_packed_0, out, satellites_sx12xx_check_crc_0, in]
metadata:
file_format: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment