diff --git a/hier_blocks/ONBEAT_mod.grc b/hier_blocks/ONBEAT_mod.grc index 5955301..1a2b795 100644 --- a/hier_blocks/ONBEAT_mod.grc +++ b/hier_blocks/ONBEAT_mod.grc @@ -83,6 +83,21 @@ blocks: coordinate: [64, 304.0] rotation: 0 state: enabled +- name: trailer_len + id: variable_tag_object + parameters: + comment: '' + key: pmt.intern("packet_len") + offset: '0' + src: pmt.intern("src") + value: pmt.from_long(64) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [168, 504.0] + rotation: 0 + state: disabled - name: OVERSAMPLING id: parameter parameters: @@ -137,6 +152,26 @@ blocks: coordinate: [352, 312.0] rotation: 0 state: enabled +- name: blocks_repack_bits_bb_1_0_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: '""' + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [456, 512.0] + rotation: 0 + state: disabled - name: blocks_tagged_stream_mux_0 id: blocks_tagged_stream_mux parameters: @@ -165,7 +200,7 @@ blocks: comment: '' maxoutbuf: '0' minoutbuf: '0' - repeat: 'False' + repeat: 'True' tags: '[preamble_len]' type: byte vector: preamble @@ -185,7 +220,7 @@ blocks: comment: '' maxoutbuf: '0' minoutbuf: '0' - repeat: 'False' + repeat: 'True' tags: '[syncword_len]' type: byte vector: '[int(i) for i in syncword]' @@ -197,6 +232,26 @@ blocks: coordinate: [168, 304.0] rotation: 0 state: enabled +- name: blocks_vector_source_x_0_0_0_0 + id: blocks_vector_source_x + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + repeat: 'True' + tags: '[trailer_len]' + type: byte + vector: preamble + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [272, 504.0] + rotation: 0 + state: disabled - name: data_len id: parameter parameters: @@ -289,7 +344,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [656, 400.0] + coordinate: [288, 416.0] rotation: 0 state: enabled - name: preamble @@ -333,6 +388,7 @@ connections: - [blocks_vector_source_x_0_0, '0', blocks_tagged_stream_mux_0, '0'] - [blocks_vector_source_x_0_0, '0', pad_sink_0_0, '0'] - [blocks_vector_source_x_0_0_0, '0', blocks_repack_bits_bb_1_0, '0'] +- [blocks_vector_source_x_0_0_0_0, '0', blocks_repack_bits_bb_1_0_0, '0'] - [digital_constellation_modulator_0, '0', pad_sink_0, '0'] - [pad_source_0, '0', blocks_tagged_stream_mux_0, '2']