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_a
- 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_a
- 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: [1168, 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: '16'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [608, 12.0]
- rotation: 0
- state: true
- - name: excess_bw
- id: variable
- parameters:
- comment: ''
- value: '0.35'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [792, 12.0]
- rotation: 0
- state: enabled
- - 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: [1168, 76.0]
- rotation: 0
- state: enabled
- - name: loop_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: mark
- id: variable
- parameters:
- comment: ''
- value: '40500'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [360, 12.0]
- rotation: 0
- state: true
- - name: ref_gain
- id: variable_qtgui_range
- parameters:
- comment: 0,1,1,1
- gui_hint: 0,1,1,1
- label: AGC Ref Gain
- min_len: '200'
- orient: QtCore.Qt.Horizontal
- rangeType: float
- start: '0.05'
- step: '0.05'
- stop: '2.0'
- value: '0.5'
- widget: counter
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1032, 12.0]
- rotation: 0
- state: enabled
- - 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: rrc_taps
- id: variable
- parameters:
- comment: ''
- value: firdes.root_raised_cosine(1.0,samp_rate,samp_rate/sps,excess_bw,11*sps)
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [728, 76.0]
- rotation: 0
- state: enabled
- - name: samp_rate
- id: variable
- parameters:
- comment: '|----------------------------------------------------------------------------------------->
- User set values'
- value: '384000'
- 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: '39500'
- 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: 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: '0.5'
- max_gain: '2.0'
- maxoutbuf: '0'
- minoutbuf: '0'
- rate: 1e-4
- reference: ref_gain
- type: float
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [960, 204.0]
- rotation: 0
- state: enabled
- - name: analog_quadrature_demod_cf_0
- id: analog_quadrature_demod_cf
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- gain: samp_rate/(2*math.pi*fsk_deviation*decim)
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [496, 356.0]
- rotation: 0
- state: true
- - 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: 1.0 if mark > space else -1.0
- maxoutbuf: '0'
- minoutbuf: '0'
- type: float
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [800, 228.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: loop_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: [1080, 324.0]
- rotation: 0
- state: enabled
- - name: fir_filter_xxx_0
- id: fir_filter_xxx
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- decim: '1'
- maxoutbuf: '0'
- minoutbuf: '0'
- samp_delay: '0'
- taps: rrc_taps
- type: fff
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [696, 348.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: firdes.low_pass(1.0,samp_rate,3000,400)
- type: fcf
- 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*decim)'
- 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: 2,2,1,2
- ctrlpanel: 'False'
- entags: 'True'
- grid: 'False'
- gui_hint: 2,2,1,2
- 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: (int)(samp_rate/(decim*sps))
- 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,2
- ctrlpanel: 'False'
- entags: 'True'
- grid: 'False'
- gui_hint: 2,0,1,2
- 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: (int)(samp_rate/(decim*sps))
- 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: qtgui_time_sink_x_0_2_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: 1,2,1,2
- ctrlpanel: 'False'
- entags: 'True'
- grid: 'False'
- gui_hint: 1,2,1,2
- 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: Symbol Sync input
- nconnections: '1'
- size: '128'
- srate: (int)(samp_rate/decim)
- 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: '2.0'
- ymin: '-2.0'
- yunit: '""'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1152, 204.0]
- rotation: 0
- state: enabled
- - name: qtgui_time_sink_x_0_2_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: 1,0,1,2
- ctrlpanel: 'False'
- entags: 'True'
- grid: 'False'
- gui_hint: 1,0,1,2
- 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: Demod Output
- nconnections: '1'
- size: '128'
- srate: (int)(samp_rate/decim)
- 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: '2.0'
- ymin: '-2.0'
- yunit: '""'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [696, 420.0]
- rotation: 0
- state: enabled
- - name: virtual_sink_0_0
- id: virtual_sink
- parameters:
- alias: ''
- comment: ''
- stream_id: r2
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1400, 332.0]
- rotation: 0
- state: true
- - name: virtual_source_2
- id: virtual_source
- parameters:
- alias: ''
- comment: ''
- stream_id: r2
- 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:49303
- affinity: ''
- alias: ''
- bind: 'False'
- comment: ''
- hwm: '-1'
- key: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- pass_tags: 'False'
- timeout: '100'
- type: float
- 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_agc_xx_0, '0', qtgui_time_sink_x_0_2_0, '0']
- - [analog_quadrature_demod_cf_0, '0', fir_filter_xxx_0, '0']
- - [analog_quadrature_demod_cf_0, '0', qtgui_time_sink_x_0_2_0_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']
- - [fir_filter_xxx_0, '0', blocks_multiply_const_vxx_0, '0']
- - [freq_xlating_fir_filter_xxx_0, '0', analog_quadrature_demod_cf_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.9.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement