Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- parameters:
- author: Barry Duggan
- catch_exceptions: 'True'
- category: '[GRC Hier Blocks]'
- cmake_opt: ''
- comment: ''
- copyright: ''
- description: packet FSK receive
- gen_cmake: 'On'
- gen_linking: dynamic
- generate_options: qt_gui
- hier_block_src_path: '.:'
- id: pkt_fsk_rcv_ma
- 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: pkt_fsk_rcv_ma
- window_size: (1000,1000)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 12.0]
- rotation: 0
- state: enabled
- blocks:
- - name: access_key
- id: variable
- parameters:
- comment: ''
- value: '''11100001010110101110100010010011'''
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1264, 12.0]
- rotation: 0
- state: enabled
- - name: baud
- id: variable
- parameters:
- comment: ''
- value: '1200'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [280, 12.0]
- rotation: 0
- state: true
- - name: center
- id: variable
- parameters:
- comment: ''
- value: (mark+space)/2
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [240, 124.0]
- rotation: 0
- state: enabled
- - name: decim
- id: variable
- parameters:
- comment: ''
- value: '8'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [608, 12.0]
- rotation: 0
- state: true
- - name: fsk_deviation
- id: variable
- parameters:
- comment: ''
- value: (abs)(mark-space)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [400, 124.0]
- rotation: 0
- state: enabled
- - name: hdr_format
- id: variable
- parameters:
- comment: header_format_default
- value: digital.header_format_default(access_key, 0)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1264, 76.0]
- rotation: 0
- state: enabled
- - name: low_pass_filter
- id: variable_low_pass_filter_taps
- parameters:
- beta: '6.76'
- comment: ''
- cutoff_freq: '3000'
- 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: [864, 12.0]
- rotation: 0
- state: true
- - name: mark
- id: variable
- parameters:
- comment: ''
- value: '59500'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [360, 12.0]
- rotation: 0
- state: true
- - name: phase_bw
- id: variable
- parameters:
- comment: ''
- value: math.pi/32
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [680, 12.0]
- rotation: 0
- state: true
- - name: repeat
- id: variable
- parameters:
- comment: ''
- value: (int)(samp_rate/baud)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [320, 124.0]
- rotation: 0
- state: true
- - name: reverse
- id: variable_qtgui_chooser
- parameters:
- comment: 0,0,1,1
- gui_hint: 0,0,1,1
- label: ''
- label0: Normal
- label1: Reverse
- label2: ''
- label3: ''
- label4: ''
- labels: '[]'
- num_opts: '2'
- option0: '1'
- option1: '-1'
- option2: '2'
- option3: '3'
- option4: '4'
- options: '[0, 1, 2]'
- orient: Qt.QVBoxLayout
- type: int
- value: '-1'
- widget: radio_buttons
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1024, 12.0]
- rotation: 0
- state: enabled
- - name: samp_rate
- id: variable
- parameters:
- comment: '|----------------------------------------------------------------------------------------->
- User set values'
- value: '192000'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [184, 12.0]
- rotation: 0
- state: enabled
- - name: space
- id: variable
- parameters:
- comment: ''
- value: '60500'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [448, 12.0]
- rotation: 0
- state: true
- - name: sps
- id: variable
- parameters:
- comment: ''
- value: (int)(repeat/decim)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [504, 124.0]
- rotation: 0
- state: enabled
- - name: sq_lvl
- id: variable_qtgui_range
- parameters:
- comment: 0,1,1,1
- gui_hint: 0,1,1,1
- label: Squelch
- min_len: '200'
- orient: QtCore.Qt.Horizontal
- rangeType: float
- start: '-100'
- step: '5'
- stop: '0'
- value: '-50'
- widget: counter
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1144, 12.0]
- rotation: 0
- state: enabled
- - name: thresh
- id: variable
- parameters:
- comment: ''
- value: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [536, 12.0]
- rotation: 0
- state: enabled
- - name: analog_agc_xx_0
- id: analog_agc_xx
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- gain: '1.0'
- max_gain: '2.0'
- maxoutbuf: '0'
- minoutbuf: '0'
- rate: 1e-4
- reference: '1.0'
- type: float
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1040, 332.0]
- rotation: 0
- state: true
- - name: analog_quadrature_demod_cf_0
- id: analog_quadrature_demod_cf
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- gain: samp_rate/(2*math.pi*fsk_deviation)
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [680, 356.0]
- rotation: 0
- state: true
- - name: analog_simple_squelch_cc_0
- id: analog_simple_squelch_cc
- parameters:
- affinity: ''
- alias: ''
- alpha: '1'
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- threshold: sq_lvl
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [496, 348.0]
- rotation: 0
- state: enabled
- - name: blocks_file_sink_0
- id: blocks_file_sink
- parameters:
- affinity: ''
- alias: ''
- append: 'False'
- comment: ''
- file: ./output.tmp
- type: byte
- unbuffered: 'True'
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1344, 532.0]
- rotation: 0
- state: enabled
- - name: blocks_multiply_const_vxx_0
- id: blocks_multiply_const_vxx
- parameters:
- affinity: ''
- alias: ''
- comment: Normal/Reverse
- const: reverse
- maxoutbuf: '0'
- minoutbuf: '0'
- type: float
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [872, 356.0]
- rotation: 0
- state: enabled
- - name: blocks_repack_bits_bb_1_0
- id: blocks_repack_bits_bb
- parameters:
- affinity: ''
- alias: ''
- align_output: 'False'
- comment: MSB
- endianness: gr.GR_MSB_FIRST
- k: '1'
- l: '8'
- len_tag_key: '"packet_len"'
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [728, 540.0]
- rotation: 0
- state: true
- - name: blocks_throttle2_0_0
- id: blocks_throttle2
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- ignoretag: 'True'
- limit: auto
- maximum: '0.1'
- maxoutbuf: '0'
- minoutbuf: '0'
- samples_per_second: samp_rate
- type: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1168, 540.0]
- rotation: 0
- state: true
- - name: blocks_uchar_to_float_0_0
- id: blocks_uchar_to_float
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [368, 664.0]
- rotation: 0
- state: enabled
- - name: blocks_uchar_to_float_0_0_0
- id: blocks_uchar_to_float
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [760, 672.0]
- rotation: 0
- state: enabled
- - 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: [232, 552.0]
- rotation: 0
- state: enabled
- - name: digital_correlate_access_code_xx_ts_0
- id: digital_correlate_access_code_xx_ts
- parameters:
- access_code: '"11100001010110101110100010010011"'
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- tagname: packet_len
- threshold: thresh
- type: byte
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [408, 532.0]
- rotation: 0
- state: true
- - name: digital_crc32_bb_0_0
- id: digital_crc32_bb
- parameters:
- affinity: ''
- alias: ''
- check: 'True'
- comment: ''
- lengthtagname: '"packet_len"'
- maxoutbuf: '0'
- minoutbuf: '0'
- packed: 'True'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [936, 532.0]
- rotation: 0
- state: true
- - 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: phase_bw
- max_dev: '1.5'
- maxoutbuf: '0'
- minoutbuf: '0'
- nfilters: '128'
- osps: '1'
- pfb_mf_taps: '[]'
- resamp_type: digital.IR_MMSE_8TAP
- sps: sps
- ted_gain: '1.0'
- ted_type: digital.TED_EARLY_LATE
- type: ff
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1192, 300.0]
- rotation: 0
- state: enabled
- - name: freq_xlating_fir_filter_xxx_0
- id: freq_xlating_fir_filter_xxx
- parameters:
- affinity: ''
- alias: ''
- center_freq: center
- comment: ''
- decim: decim
- maxoutbuf: '0'
- minoutbuf: '0'
- samp_rate: samp_rate
- taps: low_pass_filter
- type: ccf
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [248, 332.0]
- rotation: 0
- state: enabled
- - name: import_0
- id: import
- parameters:
- alias: ''
- comment: ''
- imports: import math
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 124.0]
- rotation: 0
- state: enabled
- - name: note_0
- id: note
- parameters:
- alias: ''
- comment: '|----------------------------------------------------------------------------------------->
- Calculated values:
- - center freq = (mark+space)/2
- - repeat = (int)(samp_rate/baud)
- - fsk_deviation = (abs)(mark-space)
- - sps = (int)(repeat/decim)
- - Quad Demod Gain = samp_rate/(2*math.pi*fsk_deviation)'
- note: ''
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [184, 140.0]
- rotation: 0
- state: enabled
- - name: qtgui_time_sink_x_0_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: 3,0,1,3
- ctrlpanel: 'False'
- entags: 'True'
- grid: 'False'
- gui_hint: 3,0,1,3
- label1: ''
- label10: ''
- label2: ''
- label3: ''
- label4: ''
- label5: ''
- label6: ''
- label7: ''
- label8: ''
- label9: ''
- legend: 'True'
- marker1: '-1'
- marker10: '-1'
- marker2: '-1'
- marker3: '-1'
- marker4: '-1'
- marker5: '-1'
- marker6: '-1'
- marker7: '-1'
- marker8: '-1'
- marker9: '-1'
- name: Correlate Output
- nconnections: '1'
- size: '128'
- srate: samp_rate
- 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.0'
- tr_level: '0.1'
- tr_mode: qtgui.TRIG_MODE_TAG
- tr_slope: qtgui.TRIG_SLOPE_POS
- tr_tag: '"packet_len"'
- 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: '1.1'
- ymin: '-0.1'
- yunit: '""'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [928, 644.0]
- rotation: 0
- state: enabled
- - name: qtgui_time_sink_x_0_2
- 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: 2,0,1,3
- ctrlpanel: 'False'
- entags: 'True'
- grid: 'False'
- gui_hint: 2,0,1,3
- label1: ''
- label10: ''
- label2: ''
- label3: ''
- label4: ''
- label5: ''
- label6: ''
- label7: ''
- label8: ''
- label9: ''
- legend: 'True'
- marker1: '-1'
- marker10: '-1'
- marker2: '-1'
- marker3: '-1'
- marker4: '-1'
- marker5: '-1'
- marker6: '-1'
- marker7: '-1'
- marker8: '-1'
- marker9: '-1'
- name: Correlate input
- nconnections: '1'
- size: '128'
- srate: samp_rate
- 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.0'
- tr_level: '0.2'
- tr_mode: qtgui.TRIG_MODE_FREE
- tr_slope: qtgui.TRIG_SLOPE_POS
- tr_tag: '"packet_len"'
- 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: '1.1'
- ymin: '-0.1'
- yunit: '""'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [536, 636.0]
- rotation: 0
- state: enabled
- - name: virtual_sink_0_0
- id: virtual_sink
- parameters:
- alias: ''
- comment: ''
- stream_id: r1
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1352, 244.0]
- rotation: 180
- state: true
- - name: virtual_source_2
- id: virtual_source
- parameters:
- alias: ''
- comment: ''
- stream_id: r1
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [64, 548.0]
- rotation: 0
- state: true
- - name: zeromq_sub_source_0
- id: zeromq_sub_source
- parameters:
- address: tcp://127.0.0.1:49600
- affinity: ''
- alias: ''
- bind: 'False'
- comment: ''
- hwm: '-1'
- key: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- pass_tags: 'False'
- timeout: '100'
- type: complex
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 308.0]
- rotation: 0
- state: true
- connections:
- - [analog_agc_xx_0, '0', digital_symbol_sync_xx_0, '0']
- - [analog_quadrature_demod_cf_0, '0', blocks_multiply_const_vxx_0, '0']
- - [analog_simple_squelch_cc_0, '0', analog_quadrature_demod_cf_0, '0']
- - [blocks_multiply_const_vxx_0, '0', analog_agc_xx_0, '0']
- - [blocks_repack_bits_bb_1_0, '0', digital_crc32_bb_0_0, '0']
- - [blocks_throttle2_0_0, '0', blocks_file_sink_0, '0']
- - [blocks_uchar_to_float_0_0, '0', qtgui_time_sink_x_0_2, '0']
- - [blocks_uchar_to_float_0_0_0, '0', qtgui_time_sink_x_0_0, '0']
- - [digital_binary_slicer_fb_0, '0', blocks_uchar_to_float_0_0, '0']
- - [digital_binary_slicer_fb_0, '0', digital_correlate_access_code_xx_ts_0, '0']
- - [digital_correlate_access_code_xx_ts_0, '0', blocks_repack_bits_bb_1_0, '0']
- - [digital_correlate_access_code_xx_ts_0, '0', blocks_uchar_to_float_0_0_0, '0']
- - [digital_crc32_bb_0_0, '0', blocks_throttle2_0_0, '0']
- - [digital_symbol_sync_xx_0, '0', virtual_sink_0_0, '0']
- - [freq_xlating_fir_filter_xxx_0, '0', analog_simple_squelch_cc_0, '0']
- - [virtual_source_2, '0', digital_binary_slicer_fb_0, '0']
- - [zeromq_sub_source_0, '0', freq_xlating_fir_filter_xxx_0, '0']
- metadata:
- file_format: 1
- grc_version: 3.10.8.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement