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: Baseband stream packets
- gen_cmake: 'On'
- gen_linking: dynamic
- generate_options: no_gui
- hier_block_src_path: '.:'
- id: str_pkt_11
- 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: str_pkt_11
- 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: [304, 12.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: [496, 12.0]
- rotation: 0
- state: enabled
- - name: samp_rate
- id: variable
- parameters:
- comment: ''
- value: '32000'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [200, 12.0]
- rotation: 0
- state: enabled
- - name: blocks_file_sink_0
- id: blocks_file_sink
- parameters:
- affinity: ''
- alias: ''
- append: 'False'
- comment: ''
- file: output.txt
- type: byte
- unbuffered: 'True'
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [960, 500.0]
- rotation: 0
- state: true
- - name: blocks_file_source_0
- id: blocks_file_source
- parameters:
- affinity: ''
- alias: ''
- begin_tag: pmt.PMT_NIL
- comment: ''
- file: /home/barry/GRdev/padded.txt
- length: '0'
- maxoutbuf: '0'
- minoutbuf: '0'
- offset: '0'
- repeat: 'False'
- type: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 148.0]
- rotation: 0
- state: true
- - name: blocks_message_debug_0
- id: blocks_message_debug
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- en_uvec: 'True'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1184, 328.0]
- rotation: 180
- state: true
- - name: blocks_repack_bits_bb_1
- id: blocks_repack_bits_bb
- parameters:
- affinity: ''
- alias: ''
- align_output: 'False'
- comment: ''
- endianness: gr.GR_MSB_FIRST
- k: '8'
- l: '1'
- len_tag_key: '"packet_len"'
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [488, 340.0]
- rotation: 0
- state: true
- - name: blocks_repack_bits_bb_1_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: '"packet_len"'
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [520, 508.0]
- rotation: 0
- state: true
- - name: blocks_stream_to_tagged_stream_0
- id: blocks_stream_to_tagged_stream
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- len_tag_key: '"packet_len"'
- maxoutbuf: '0'
- minoutbuf: '0'
- packet_len: '252'
- type: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [416, 172.0]
- rotation: 0
- state: true
- - name: blocks_tag_debug_0
- id: blocks_tag_debug
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- display: 'True'
- filter: '""'
- name: ''
- num_inputs: '1'
- type: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [512, 252.0]
- rotation: 0
- state: disabled
- - name: blocks_tagged_stream_mux_0
- id: blocks_tagged_stream_mux
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- lengthtagname: packet_len
- maxoutbuf: '0'
- minoutbuf: '0'
- ninputs: '2'
- tag_preserve_head_pos: '0'
- type: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [248, 336.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: byte
- vlen: '1'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [240, 180.0]
- rotation: 0
- state: true
- - 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: '0'
- type: byte
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [224, 500.0]
- rotation: 0
- state: true
- - name: digital_crc32_bb_0
- id: digital_crc32_bb
- parameters:
- affinity: ''
- alias: ''
- check: 'False'
- comment: ''
- lengthtagname: '"packet_len"'
- maxoutbuf: '0'
- minoutbuf: '0'
- packed: 'True'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [648, 164.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: [728, 500.0]
- rotation: 0
- state: true
- - name: digital_protocol_formatter_bb_0
- id: digital_protocol_formatter_bb
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- format: hdr_format
- len_tag_key: '"packet_len"'
- maxoutbuf: '0'
- minoutbuf: '0'
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [904, 172.0]
- rotation: 0
- state: true
- - name: header_bits
- id: virtual_sink
- parameters:
- alias: ''
- comment: ''
- stream_id: Header Bytes
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1144, 180.0]
- rotation: 0
- state: enabled
- - name: pdu_tagged_stream_to_pdu_0
- id: pdu_tagged_stream_to_pdu
- parameters:
- affinity: ''
- alias: ''
- comment: ''
- maxoutbuf: '0'
- minoutbuf: '0'
- tag: packet_len
- type: byte
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [1144, 252.0]
- rotation: 0
- state: true
- - name: virtual_sink_0_0
- id: virtual_sink
- parameters:
- alias: ''
- comment: ''
- stream_id: Payload Bytes
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [904, 108.0]
- rotation: 0
- state: enabled
- - name: virtual_sink_1
- id: virtual_sink
- parameters:
- alias: ''
- comment: ''
- stream_id: pkt_out
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [696, 348.0]
- rotation: 0
- state: true
- - name: virtual_source_0
- id: virtual_source
- parameters:
- alias: ''
- comment: ''
- stream_id: Header Bytes
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 332.0]
- rotation: 0
- state: enabled
- - name: virtual_source_0_0
- id: virtual_source
- parameters:
- alias: ''
- comment: ''
- stream_id: Payload Bytes
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [16, 388.0]
- rotation: 0
- state: enabled
- - name: virtual_source_1
- id: virtual_source
- parameters:
- alias: ''
- comment: ''
- stream_id: pkt_out
- states:
- bus_sink: false
- bus_source: false
- bus_structure: null
- coordinate: [24, 516.0]
- rotation: 0
- state: true
- connections:
- - [blocks_file_source_0, '0', blocks_throttle_0, '0']
- - [blocks_repack_bits_bb_1, '0', virtual_sink_1, '0']
- - [blocks_repack_bits_bb_1_0, '0', digital_crc32_bb_0_0, '0']
- - [blocks_stream_to_tagged_stream_0, '0', digital_crc32_bb_0, '0']
- - [blocks_tagged_stream_mux_0, '0', blocks_repack_bits_bb_1, '0']
- - [blocks_tagged_stream_mux_0, '0', blocks_tag_debug_0, '0']
- - [blocks_throttle_0, '0', blocks_stream_to_tagged_stream_0, '0']
- - [digital_correlate_access_code_xx_ts_0, '0', blocks_repack_bits_bb_1_0, '0']
- - [digital_crc32_bb_0, '0', digital_protocol_formatter_bb_0, '0']
- - [digital_crc32_bb_0, '0', virtual_sink_0_0, '0']
- - [digital_crc32_bb_0_0, '0', blocks_file_sink_0, '0']
- - [digital_protocol_formatter_bb_0, '0', header_bits, '0']
- - [digital_protocol_formatter_bb_0, '0', pdu_tagged_stream_to_pdu_0, '0']
- - [pdu_tagged_stream_to_pdu_0, pdus, blocks_message_debug_0, print]
- - [virtual_source_0, '0', blocks_tagged_stream_mux_0, '0']
- - [virtual_source_0_0, '0', blocks_tagged_stream_mux_0, '1']
- - [virtual_source_1, '0', digital_correlate_access_code_xx_ts_0, '0']
- metadata:
- file_format: 1
- grc_version: 3.10.5.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement