From 84afe7515b95669a2b533782bc77e15418a8839e Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Wed, 31 Jul 2019 21:46:55 +0200 Subject: [PATCH] Moved RX flow graph to separate hier block --- grc/hamnet70_demod_sc16qam.grc | 2204 ++++++++++++++++ grc/hamnet70_mod_sc16qam.grc | 269 +- tmp/test_sc16qam.grc | 4508 +------------------------------- 3 files changed, 2240 insertions(+), 4741 deletions(-) create mode 100644 grc/hamnet70_demod_sc16qam.grc diff --git a/grc/hamnet70_demod_sc16qam.grc b/grc/hamnet70_demod_sc16qam.grc new file mode 100644 index 0000000..ef61c31 --- /dev/null +++ b/grc/hamnet70_demod_sc16qam.grc @@ -0,0 +1,2204 @@ + + + + Mon Nov 19 21:21:40 2018 + + options + + author + + + + window_size + (3000,1500) + + + category + [Hamnet70] + + + comment + + + + description + + + + _enabled + True + + + _coordinate + (7, 11) + + + _rotation + 0 + + + generate_options + hb + + + hier_block_src_path + .: + + + id + hamnet70_demod_sc16qam + + + max_nouts + 0 + + + qt_qss_theme + + + + realtime_scheduling + + + + run_command + {python} -u {filename} + + + run_options + prompt + + + run + True + + + sizing_mode + fixed + + + thread_safe_setters + + + + title + + + + placement + (0,0) + + + + variable + + comment + + + + _enabled + 1 + + + _coordinate + (351, 11) + + + _rotation + 0 + + + id + MTU + + + value + 1000 + + + + variable + + comment + + + + _enabled + True + + + _coordinate + (1317, 75) + + + _rotation + 0 + + + id + filtered_preamble + + + value + [-0.08129028727943922, 0.5175310057290967, 0.7722893511238401, 0.1148018601746867, -0.722064124169458, -1.070325845435683, -0.7576079426568051, 0.18721137317967265, 0.8082354458186894, 0.16551431338345055, -0.8230511120132068, -0.9163786999175855, -0.6117803225418995, -0.6700353783249773, -0.769552358580221, -0.6553850013523769, -0.6616647090898005, -0.8642448711195908, -0.7657756901919124, -0.005797463799976558, 0.7988382349769702, 0.8294065542326889, 0.5908028280454155, 0.8256875067745597, 0.8146188978481508, -0.020634460059635405, -0.7697984549491852, -0.84444995115828, -0.7024762029888817, -0.6198196615385398, -0.6740683648840808, -0.8779717344643397, -0.7348420982832689, -0.03555345192059069, 0.6875748913521815, 1.05704028958943, 0.7936348650142598, -0.227788685490792, -0.8526208790280765, -0.019986388839869088, 0.8865006263699879, 0.22076477443065975, -0.8950135086547415, -0.8716653140660505, -0.5246199864711176, -0.8766401386744519, -0.8820374094504108, 0.21035783174430892, 0.8794422859414389, -0.0011611346097876265, -0.8814031035439059, -0.2052976618476738, 0.884058130726517, 0.867874201882579, 0.5332794012999048, 0.8708622570670164, 0.8637348822351997, -0.17431393669607972, -0.8250191737426946, -0.159753901506682, 0.7642162474748025, 1.0307117503818917, 0.7209235670006533, -0.046310786625050435, -0.778353554637026, -0.8090535516253826, -0.6154990384422255, -0.8191775393984242, -0.7715717180192584, -0.04303083386946083, 0.7087424230953812, 1.0406619975497917, 0.7739585237544835, -0.1813128392457166, -0.8182268870512397, -0.15942914271908737, 0.8234523948634808, 0.9096598417113971, 0.6185048553728173, 0.6684161292689035, 0.7539824027513191, 0.6836301090416503, 0.6999311130000547, 0.7389553270549601, 0.6839900761430421, 0.7021021663383259, 0.7516639997452075, 0.6525522658424077, 0.6534360750123849, 0.8771955893739727, 0.7467565606689772, 0.02256689156806864, -0.6965663769194737, -1.0334581411917223, -0.8033612431626567, 0.21473612951329507, 0.9021191169018361, -0.03260395122242441, -0.9748493563354472, -0.0036730669687836054, 0.9837363093032675, 0.029610782323607913, -0.9147600194403116, -0.1975663528941189, 0.7846178900011095, 1.046195013664345, 0.7823514680353573, -0.19522212259588054, -0.9112606649207405, 0.023091617917047752, 0.9823761290274862, 0.005013623849880724, -0.9839086392514891, -0.030909546641523664, 0.9288649780546557, 0.17404978816125155, -0.8482660163992438, -0.8876093889324591, -0.6345467136516006, -0.6717405084570316, -0.7534951625484151, -0.6724850985383302, -0.6332635174362395, -0.8882583296210897, -0.8486040990328427, 0.1746881707177126, 0.9259713955442388, -0.027609316815115616, -0.981338085190242, -0.001344279331150455, 0.9975726805938289, 0.0032448299776181326, -0.9764965661259061, -0.038329427646553955, 0.9330903198844934, 0.17732840671687633, -0.884526368697909, -0.8409765922640641, -0.5741518512133504, -0.8417933606698373, -0.8006392072770372, 0.021165570638770982, 0.7632245025162033, 0.8517172477864591, 0.6894722582746561, 0.627511017042137, 0.6863631780455114, 0.8563658160469327, 0.7612216439770927, 0.018571095536152736, -0.7823611954523056, -0.8690699069880754, -0.6333979268929584, -0.683403955879924, -0.7477786143700612, -0.6760720177864058, -0.7315676483948168, -0.7022410050440601, -0.6025340610303705, -0.8942842107371078, -0.876118418067176, 0.21325460611438626, 0.8933190023314942, -0.021020274275776296, -0.8509438093415653, -0.22849717658452368, 0.766404902951236, 1.0976363993152392, 0.7347945162722681, -0.1832619698059374, -0.7846839951429371, -0.203960282014804, 0.7791194220918806, 1.0570020412052767, 0.6871659081907839, -0.034128640884788806, -0.758977445243153, -0.842265755178699, -0.590427160769304, -0.8230645633153072, -0.8666341902251239, 0.1306531397306155, 0.8813545166948351, 0.13063111360027738, -0.8668464329717416, -0.8229059597921542, -0.5909918996264324, -0.8416482983212378, -0.7576909624053595, -0.03633764064328733, 0.6889211336769204, 1.0570456723676904, 0.7725709448929612, -0.19590212486821, -0.7819571569662832, -0.19423766644757734, 0.7581363822306396, 1.0728178251588376, 0.6914413142827484, -0.0559215883795015, -0.714231805919135, -0.8810186116706932, -0.6976008989464094, -0.589776170839254, -0.7080987303190418, -0.8686370449617289, -0.7125582538956461, -0.0700815846806227, 0.7167712215345482, 1.04915692525072, 0.6815083449957776, -0.02120733959403598, -0.642439898181621, -1.0597993466297206, -0.8237039100427359, 0.265065657431864, 0.856492446785688, -0.022162936727173486, -0.8378600476158674, -0.24202708087827066, 0.7661621476781921, 1.110851446807837, 0.7334782497375953, -0.19604083328889133, -0.7767874366303583, -0.19960608098306046, 0.7442419567519329, 1.1021390478953919, 0.7621718117508358, -0.2279706381391869, -0.8566075585134577, -0.014523950412114933, 0.8956878607912002, 0.2031847194823793, -0.8590960372868359, -0.9037640628156428, -0.6384354626902238, -0.6418468961629767, -0.6972905655659191, -0.8295081610344438, -0.75336030166678, -0.06371099534624729, 0.7469059588768265, 1.0091981479043493, 0.6892638352155233, 0.010433271730807492, -0.6990168570572781, -1.0195483817807387, -0.7245281591204413, 0.04940571217794372, 0.7380066957315401, 0.8611504776216674, 0.6772851899539332, 0.6365704309810768, 0.7161466474566263, 0.7855407885789869, 0.7268081345517742] + + + + variable + + comment + + + + _enabled + 1 + + + _coordinate + (734, 706) + + + _rotation + 0 + + + id + header_format + + + value + digital.packet_header_default(64) + + + + variable_constellation_rect + + comment + + + + const_points + [1, -1] + + + _enabled + True + + + _coordinate + (495, 11) + + + _rotation + 0 + + + id + header_mod + + + imag_sect + 2 + + + real_sect + 2 + + + rot_sym + 2 + + + soft_dec_lut + None + + + precision + 8 + + + sym_map + [0, 1] + + + w_imag_sect + 1 + + + w_real_sect + 1 + + + + variable + + comment + + + + _enabled + True + + + _coordinate + (678, 147) + + + _rotation + 0 + + + id + nfilts + + + value + 32 + + + + variable_cc_decoder_def + + padding + True + + + comment + + + + k + 7 + + + dim1 + 1 + + + dim2 + 1 + + + _enabled + True + + + state_end + -1 + + + framebits + 8*(MTU+4)*2 + + + _coordinate + (846, 11) + + + _rotation + 0 + + + id + payload_dec + + + value + "ok" + + + ndim + 0 + + + polys + [79,109] + + + rate + 2 + + + state_start + 0 + + + mode + fec.CC_TERMINATED + + + + variable_constellation + + comment + + + + const_points + [-1-1j, -1+1j, 1+1j, 1-1j] + + + type + 16qam + + + dims + 1 + + + _enabled + True + + + _coordinate + (678, 11) + + + _rotation + 0 + + + id + payload_mod + + + rot_sym + 4 + + + soft_dec_lut + None + + + precision + 8 + + + sym_map + [0, 1, 3, 2] + + + + variable + + comment + + + + _enabled + 1 + + + _coordinate + (1317, 11) + + + _rotation + 0 + + + id + preamble + + + value + [1, -1, -1, 1, -1, -1, -1, -1, -1, 1, 1, 1, -1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, 1, -1, 1, -1, 1, 1, -1, 1, -1, 1, -1, -1, -1, -1, -1, 1, -1, 1, -1, 1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, -1, 1, -1, -1, -1, 1, 1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, 1, 1, 1] + + + + variable_rrc_filter_taps + + comment + + + + _enabled + True + + + alpha + 0.35 + + + _coordinate + (1190, 11) + + + _rotation + 0 + + + gain + nfilts + + + id + rrc_taps_corr + + + ntaps + int(11*nfilts) + + + samp_rate + nfilts + + + sym_rate + 1 + + + + variable_rrc_filter_taps + + comment + + + + _enabled + True + + + alpha + 0.35 + + + _coordinate + (1030, 11) + + + _rotation + 0 + + + gain + nfilts + + + id + rrc_taps_ppcs + + + ntaps + int(11*sps*nfilts) + + + samp_rate + samp_rate + + + sym_rate + sym_rate/nfilts + + + + variable + + comment + + + + _enabled + True + + + _coordinate + (678, 75) + + + _rotation + 0 + + + id + sps + + + value + samp_rate/sym_rate + + + + variable + + comment + + + + _enabled + True + + + _coordinate + (191, 91) + + + _rotation + 0 + + + id + sym_rate + + + value + 150e3 + + + + analog_agc_xx + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (1269, 387) + + + _rotation + 0 + + + gain + 1.0 + + + id + analog_agc_xx_0 + + + max_gain + 65536 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + rate + 1e-4 + + + reference + 1.0 + + + type + complex + + + + analog_sig_source_x + + amp + 1 + + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + freq + 0 + + + _coordinate + (63, 371) + + + _rotation + 0 + + + id + analog_sig_source_x_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + offset + 0 + + + type + complex + + + samp_rate + samp_rate + + + waveform + analog.GR_COS_WAVE + + + + blocks_add_const_vxx + + alias + + + + comment + + + + const + -1 + + + affinity + + + + _enabled + 1 + + + _coordinate + (1629, 922) + + + _rotation + 0 + + + id + blocks_add_const_vxx_0 + + + type + float + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + vlen + 1 + + + + blocks_char_to_float + + alias + + + + comment + + + + affinity + + + + _enabled + 1 + + + _coordinate + (1469, 922) + + + _rotation + 0 + + + id + blocks_char_to_float_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + scale + 0.5 + + + vlen + 1 + + + + blocks_multiply_xx + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (287, 407) + + + _rotation + 0 + + + id + blocks_multiply_xx_0 + + + type + complex + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + num_inputs + 2 + + + vlen + 1 + + + + blocks_repack_bits_bb + + k + payload_mod.bits_per_symbol() + + + l + 1 + + + alias + + + + comment + + + + affinity + + + + _enabled + 1 + + + endianness + gr.GR_LSB_FIRST + + + _coordinate + (1269, 914) + + + _rotation + 0 + + + id + blocks_repack_bits_bb_0 + + + len_tag_key + packet_len + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + align_output + False + + + + blocks_repack_bits_bb + + k + 1 + + + l + 8 + + + alias + + + + comment + + + + affinity + + + + _enabled + 1 + + + endianness + gr.GR_LSB_FIRST + + + _coordinate + (2060, 914) + + + _rotation + 0 + + + id + blocks_repack_bits_bb_0_0 + + + len_tag_key + packet_len + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + align_output + False + + + + blocks_tagged_stream_multiply_length + + alias + + + + comment + + + + affinity + + + + _enabled + 0 + + + _coordinate + (1262, 1006) + + + _rotation + 0 + + + id + blocks_tagged_stream_multiply_length_0 + + + type + float + + + c + payload_mod.bits_per_symbol() + + + lengthtagname + packet_len + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + vlen + 1 + + + + blocks_tagged_stream_to_pdu + + alias + + + + comment + + + + affinity + + + + _enabled + 1 + + + _coordinate + (2244, 922) + + + _rotation + 0 + + + id + blocks_tagged_stream_to_pdu_1_0_0 + + + type + byte + + + tag + packet_len + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + digital_constellation_decoder_cb + + alias + + + + comment + + + + constellation + payload_mod + + + affinity + + + + _enabled + 1 + + + _coordinate + (918, 922) + + + _rotation + 0 + + + id + digital_constellation_decoder_cb_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + digital_constellation_decoder_cb + + alias + + + + comment + + + + constellation + header_mod + + + affinity + + + + _enabled + True + + + _coordinate + (918, 850) + + + _rotation + 0 + + + id + digital_constellation_decoder_cb_0_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + digital_constellation_soft_decoder_cf + + alias + + + + comment + + + + constellation + payload_mod + + + affinity + + + + _enabled + 0 + + + _coordinate + (918, 1002) + + + _rotation + 0 + + + id + digital_constellation_soft_decoder_cf_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + digital_corr_est_cc + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (415, 395) + + + _rotation + 0 + + + id + digital_corr_est_cc_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + sps + sps + + + symbols + filtered_preamble + + + mark_delay + 14 + + + threshold + 0.995 + + + + digital_crc32_async_bb + + alias + + + + comment + + + + affinity + + + + _enabled + 1 + + + _coordinate + (2460, 922) + + + _rotation + 0 + + + id + digital_crc32_async_bb_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + check + True + + + + digital_header_payload_demux + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (567, 842) + + + _rotation + 0 + + + guard_interval + 0 + + + header_len + 64 + + + header_padding + 0 + + + id + digital_header_payload_demux_0 + + + type + complex + + + items_per_symbol + 1 + + + length_tag_key + "packet_len" + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + output_symbols + False + + + samp_rate + int(sym_rate) + + + special_tags + () + + + timing_tag_key + "rx_time" + + + trigger_tag_key + "data_start" + + + + digital_packet_headerparser_b + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + header_formatter + header_format + + + _coordinate + (726, 770) + + + _rotation + 180 + + + id + digital_packet_headerparser_b_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + digital_pfb_clock_sync_xxx + + alias + + + + comment + + + + affinity + + + + _enabled + 1 + + + filter_size + nfilts + + + _coordinate + (790, 355) + + + _rotation + 0 + + + id + digital_pfb_clock_sync_xxx_0 + + + init_phase + 16 + + + loop_bw + 1e-3 + + + maxoutbuf + 0 + + + max_dev + 1.5 + + + minoutbuf + 0 + + + osps + 1 + + + sps + sps + + + taps + rrc_taps_ppcs + + + type + ccf + + + + fec_extended_tagged_decoder + + ann + None + + + alias + + + + comment + + + + affinity + + + + decoder_list + payload_dec + + + _enabled + True + + + _coordinate + (1821, 890) + + + _rotation + 0 + + + id + fec_extended_tagged_decoder_0 + + + lentagname + packet_len + + + mtu + 8*(MTU+4)*2 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + puncpat + '11' + + + value + fec_extended_decoder + + + + hamnet70_correct_phase_from_tag + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (1054, 411) + + + _rotation + 0 + + + id + hamnet70_correct_phase_from_tag_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + phase_tag_name + phase_est + + + + hamnet70_freq_est_lr + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (1054, 295) + + + _rotation + 0 + + + id + hamnet70_freq_est_lr_0 + + + kappa + 3 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + symbols + preamble + + + + hamnet70_insert_delayed_tag + + alias + + + + comment + + + + affinity + + + + delay + len(preamble)+1 + + + _enabled + True + + + _coordinate + (263, 858) + + + _rotation + 0 + + + id + hamnet70_insert_delayed_tag_0 + + + insert_tag + data_start + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + trigger_tag + corr_est + + + + hamnet70_pid_controller + + alias + + + + comment + + + + affinity + + + + d + 0.0 + + + _enabled + True + + + _coordinate + (1269, 259) + + + _rotation + 0 + + + i + 0.03 + + + id + hamnet70_pid_controller_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + p + 0.001 + + + post_gain + -sym_rate + + + interval + 1500 + + + + import + + alias + + + + comment + + + + _enabled + 1 + + + _coordinate + (7, 115) + + + _rotation + 0 + + + id + import_0 + + + import + from gnuradio.digital.utils import tagged_streams + + + + pad_sink + + comment + + + + _enabled + True + + + _coordinate + (638, 443) + + + _rotation + 0 + + + id + pad_sink_0 + + + type + complex + + + label + corr_out + + + num_streams + 1 + + + optional + True + + + vlen + 1 + + + + pad_sink + + comment + + + + _enabled + True + + + _coordinate + (1525, 467) + + + _rotation + 0 + + + id + pad_sink_1 + + + type + complex + + + label + synced_symbols + + + num_streams + 1 + + + optional + True + + + vlen + 1 + + + + pad_sink + + comment + + + + _enabled + True + + + _coordinate + (2619, 922) + + + _rotation + 0 + + + id + pad_sink_2 + + + type + message + + + label + pdu_out + + + num_streams + 1 + + + optional + False + + + vlen + 1 + + + + pad_source + + comment + + + + _enabled + True + + + _coordinate + (95, 483) + + + _rotation + 0 + + + id + pad_source_0 + + + label + rx_in + + + num_streams + 1 + + + optional + False + + + type + complex + + + vlen + 1 + + + + parameter + + alias + + + + comment + + + + _enabled + True + + + _coordinate + (191, 11) + + + _rotation + 0 + + + id + samp_rate + + + label + Sampling Rate + + + short_id + + + + hide + none + + + type + + + + value + 300e3 + + + + virtual_sink + + comment + + + + _enabled + True + + + _coordinate + (1525, 411) + + + _rotation + 0 + + + id + virtual_sink_0 + + + stream_id + synced_symbols + + + + virtual_source + + comment + + + + _enabled + True + + + _coordinate + (31, 874) + + + _rotation + 0 + + + id + virtual_source_0 + + + stream_id + synced_symbols + + + + analog_agc_xx_0 + pad_sink_1 + 0 + 0 + + + analog_agc_xx_0 + virtual_sink_0 + 0 + 0 + + + analog_sig_source_x_0 + blocks_multiply_xx_0 + 0 + 0 + + + blocks_add_const_vxx_0 + fec_extended_tagged_decoder_0 + 0 + 0 + + + blocks_char_to_float_0 + blocks_add_const_vxx_0 + 0 + 0 + + + blocks_multiply_xx_0 + digital_corr_est_cc_0 + 0 + 0 + + + blocks_repack_bits_bb_0 + blocks_char_to_float_0 + 0 + 0 + + + blocks_repack_bits_bb_0_0 + blocks_tagged_stream_to_pdu_1_0_0 + 0 + 0 + + + blocks_tagged_stream_multiply_length_0 + fec_extended_tagged_decoder_0 + 0 + 0 + + + blocks_tagged_stream_to_pdu_1_0_0 + digital_crc32_async_bb_0 + pdus + in + + + digital_constellation_decoder_cb_0 + blocks_repack_bits_bb_0 + 0 + 0 + + + digital_constellation_decoder_cb_0_0 + digital_packet_headerparser_b_0 + 0 + 0 + + + digital_constellation_soft_decoder_cf_0 + blocks_tagged_stream_multiply_length_0 + 0 + 0 + + + digital_corr_est_cc_0 + pad_sink_0 + 1 + 0 + + + digital_corr_est_cc_0 + digital_pfb_clock_sync_xxx_0 + 0 + 0 + + + digital_crc32_async_bb_0 + pad_sink_2 + out + in + + + digital_header_payload_demux_0 + digital_constellation_decoder_cb_0_0 + 0 + 0 + + + digital_header_payload_demux_0 + digital_constellation_decoder_cb_0 + 1 + 0 + + + digital_header_payload_demux_0 + digital_constellation_soft_decoder_cf_0 + 1 + 0 + + + digital_packet_headerparser_b_0 + digital_header_payload_demux_0 + header_data + header_data + + + digital_pfb_clock_sync_xxx_0 + hamnet70_correct_phase_from_tag_0 + 0 + 0 + + + digital_pfb_clock_sync_xxx_0 + hamnet70_freq_est_lr_0 + 0 + 0 + + + fec_extended_tagged_decoder_0 + blocks_repack_bits_bb_0_0 + 0 + 0 + + + hamnet70_correct_phase_from_tag_0 + analog_agc_xx_0 + 0 + 0 + + + hamnet70_freq_est_lr_0 + hamnet70_pid_controller_0 + 0 + 0 + + + hamnet70_insert_delayed_tag_0 + digital_header_payload_demux_0 + 0 + 0 + + + hamnet70_pid_controller_0 + analog_sig_source_x_0 + control_value + freq + + + pad_source_0 + blocks_multiply_xx_0 + 0 + 1 + + + virtual_source_0 + hamnet70_insert_delayed_tag_0 + 0 + 0 + + diff --git a/grc/hamnet70_mod_sc16qam.grc b/grc/hamnet70_mod_sc16qam.grc index 2f2ae91..2c92e00 100644 --- a/grc/hamnet70_mod_sc16qam.grc +++ b/grc/hamnet70_mod_sc16qam.grc @@ -30,7 +30,7 @@ _coordinate - (8, 8) + (7, 11) _rotation @@ -97,11 +97,11 @@ _enabled - True + 1 _coordinate - (404, 20) + (351, 11) _rotation @@ -124,11 +124,11 @@ _enabled - True + 1 _coordinate - (242, 246) + (351, 75) _rotation @@ -175,7 +175,7 @@ _coordinate - (1158, 27) + (862, 11) _rotation @@ -206,60 +206,6 @@ fec.CC_TERMINATED - - variable - - comment - - - - _enabled - True - - - _coordinate - (331, 20) - - - _rotation - 0 - - - id - fft_len - - - value - 64 - - - - variable - - comment - - - - _enabled - True - - - _coordinate - (347, 319) - - - _rotation - 0 - - - id - frame_key - - - value - "frame_len" - - variable @@ -303,7 +249,7 @@ _coordinate - (792, 28) + (495, 11) _rotation @@ -346,87 +292,6 @@ 1 - - variable - - comment - - - - _enabled - True - - - _coordinate - (242, 319) - - - _rotation - 0 - - - id - len_key - - - value - "packet_len" - - - - variable - - comment - - - - _enabled - 1 - - - _coordinate - (444, 319) - - - _rotation - 0 - - - id - num_key - - - value - "packet_num" - - - - variable - - comment - - - - _enabled - True - - - _coordinate - (242, 101) - - - _rotation - 0 - - - id - occupied_carriers - - - value - (range(-26, -21) + range(-20, -7) + range(-6, 0) + range(1, 7) + range(8, 21) + range(22, 27),) - - variable_constellation @@ -451,7 +316,7 @@ _coordinate - (974, 27) + (678, 11) _rotation @@ -478,60 +343,6 @@ [0, 1, 3, 2] - - variable - - comment - - - - _enabled - True - - - _coordinate - (388, 101) - - - _rotation - 0 - - - id - pilot_carriers - - - value - ((-21,-7, 0, 7, 21),) - - - - variable - - comment - - - - _enabled - True - - - _coordinate - (517, 101) - - - _rotation - 0 - - - id - pilot_symbols - - - value - ((1,-1,1,1,-1),) - - variable @@ -544,7 +355,7 @@ _coordinate - (1493, 27) + (1198, 11) _rotation @@ -575,7 +386,7 @@ _coordinate - (1349, 27) + (1054, 11) _rotation @@ -602,60 +413,6 @@ 150e3 - - variable - - comment - - - - _enabled - True - - - _coordinate - (242, 173) - - - _rotation - 0 - - - id - sync_word1 - - - value - [0., 0., 0., 0., 0., 0., 0., 1.41421356, 0., -1.41421356, 0., 1.41421356, 0., -1.41421356, 0., -1.41421356, 0., -1.41421356, 0., 1.41421356, 0., -1.41421356, 0., 1.41421356, 0., -1.41421356, 0., -1.41421356, 0., -1.41421356, 0., -1.41421356, 0., 1.41421356, 0., -1.41421356, 0., 1.41421356, 0., 1.41421356, 0., 1.41421356, 0., -1.41421356, 0., 1.41421356, 0., 1.41421356, 0., 1.41421356, 0., -1.41421356, 0., 1.41421356, 0., 1.41421356, 0., 1.41421356, 0., 0., 0., 0., 0., 0.] - - - - variable - - comment - - - - _enabled - True - - - _coordinate - (388, 173) - - - _rotation - 0 - - - id - sync_word2 - - - value - [0, 0, 0, 0, 0, 0, -1, -1, -1, -1, 1, 1, -1, -1, -1, 1, -1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, 1, -1, -1, 1, -1, 0, 1, -1, 1, 1, 1, -1, 1, 1, 1, -1, 1, 1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, -1, -1, -1, -1, 0, 0, 0, 0, 0] - - blocks_pdu_to_tagged_stream @@ -1304,11 +1061,11 @@ _enabled - True + 1 _coordinate - (1589, 175) + (7, 115) _rotation @@ -1480,7 +1237,7 @@ _coordinate - (8, 101) + (191, 11) _rotation diff --git a/tmp/test_sc16qam.grc b/tmp/test_sc16qam.grc index 71c9608..313d771 100644 --- a/tmp/test_sc16qam.grc +++ b/tmp/test_sc16qam.grc @@ -10,7 +10,7 @@ window_size - (3000,2000) + (1500,800) category @@ -89,60 +89,6 @@ (0,0) - - variable - - comment - - - - _enabled - True - - - _coordinate - (1725, 954) - - - _rotation - 0 - - - id - MTU - - - value - 1000 - - - - variable - - comment - - - - _enabled - True - - - _coordinate - (1006, 67) - - - _rotation - 0 - - - id - filtered_preamble - - - value - [-0.08129028727943922, 0.5175310057290967, 0.7722893511238401, 0.1148018601746867, -0.722064124169458, -1.070325845435683, -0.7576079426568051, 0.18721137317967265, 0.8082354458186894, 0.16551431338345055, -0.8230511120132068, -0.9163786999175855, -0.6117803225418995, -0.6700353783249773, -0.769552358580221, -0.6553850013523769, -0.6616647090898005, -0.8642448711195908, -0.7657756901919124, -0.005797463799976558, 0.7988382349769702, 0.8294065542326889, 0.5908028280454155, 0.8256875067745597, 0.8146188978481508, -0.020634460059635405, -0.7697984549491852, -0.84444995115828, -0.7024762029888817, -0.6198196615385398, -0.6740683648840808, -0.8779717344643397, -0.7348420982832689, -0.03555345192059069, 0.6875748913521815, 1.05704028958943, 0.7936348650142598, -0.227788685490792, -0.8526208790280765, -0.019986388839869088, 0.8865006263699879, 0.22076477443065975, -0.8950135086547415, -0.8716653140660505, -0.5246199864711176, -0.8766401386744519, -0.8820374094504108, 0.21035783174430892, 0.8794422859414389, -0.0011611346097876265, -0.8814031035439059, -0.2052976618476738, 0.884058130726517, 0.867874201882579, 0.5332794012999048, 0.8708622570670164, 0.8637348822351997, -0.17431393669607972, -0.8250191737426946, -0.159753901506682, 0.7642162474748025, 1.0307117503818917, 0.7209235670006533, -0.046310786625050435, -0.778353554637026, -0.8090535516253826, -0.6154990384422255, -0.8191775393984242, -0.7715717180192584, -0.04303083386946083, 0.7087424230953812, 1.0406619975497917, 0.7739585237544835, -0.1813128392457166, -0.8182268870512397, -0.15942914271908737, 0.8234523948634808, 0.9096598417113971, 0.6185048553728173, 0.6684161292689035, 0.7539824027513191, 0.6836301090416503, 0.6999311130000547, 0.7389553270549601, 0.6839900761430421, 0.7021021663383259, 0.7516639997452075, 0.6525522658424077, 0.6534360750123849, 0.8771955893739727, 0.7467565606689772, 0.02256689156806864, -0.6965663769194737, -1.0334581411917223, -0.8033612431626567, 0.21473612951329507, 0.9021191169018361, -0.03260395122242441, -0.9748493563354472, -0.0036730669687836054, 0.9837363093032675, 0.029610782323607913, -0.9147600194403116, -0.1975663528941189, 0.7846178900011095, 1.046195013664345, 0.7823514680353573, -0.19522212259588054, -0.9112606649207405, 0.023091617917047752, 0.9823761290274862, 0.005013623849880724, -0.9839086392514891, -0.030909546641523664, 0.9288649780546557, 0.17404978816125155, -0.8482660163992438, -0.8876093889324591, -0.6345467136516006, -0.6717405084570316, -0.7534951625484151, -0.6724850985383302, -0.6332635174362395, -0.8882583296210897, -0.8486040990328427, 0.1746881707177126, 0.9259713955442388, -0.027609316815115616, -0.981338085190242, -0.001344279331150455, 0.9975726805938289, 0.0032448299776181326, -0.9764965661259061, -0.038329427646553955, 0.9330903198844934, 0.17732840671687633, -0.884526368697909, -0.8409765922640641, -0.5741518512133504, -0.8417933606698373, -0.8006392072770372, 0.021165570638770982, 0.7632245025162033, 0.8517172477864591, 0.6894722582746561, 0.627511017042137, 0.6863631780455114, 0.8563658160469327, 0.7612216439770927, 0.018571095536152736, -0.7823611954523056, -0.8690699069880754, -0.6333979268929584, -0.683403955879924, -0.7477786143700612, -0.6760720177864058, -0.7315676483948168, -0.7022410050440601, -0.6025340610303705, -0.8942842107371078, -0.876118418067176, 0.21325460611438626, 0.8933190023314942, -0.021020274275776296, -0.8509438093415653, -0.22849717658452368, 0.766404902951236, 1.0976363993152392, 0.7347945162722681, -0.1832619698059374, -0.7846839951429371, -0.203960282014804, 0.7791194220918806, 1.0570020412052767, 0.6871659081907839, -0.034128640884788806, -0.758977445243153, -0.842265755178699, -0.590427160769304, -0.8230645633153072, -0.8666341902251239, 0.1306531397306155, 0.8813545166948351, 0.13063111360027738, -0.8668464329717416, -0.8229059597921542, -0.5909918996264324, -0.8416482983212378, -0.7576909624053595, -0.03633764064328733, 0.6889211336769204, 1.0570456723676904, 0.7725709448929612, -0.19590212486821, -0.7819571569662832, -0.19423766644757734, 0.7581363822306396, 1.0728178251588376, 0.6914413142827484, -0.0559215883795015, -0.714231805919135, -0.8810186116706932, -0.6976008989464094, -0.589776170839254, -0.7080987303190418, -0.8686370449617289, -0.7125582538956461, -0.0700815846806227, 0.7167712215345482, 1.04915692525072, 0.6815083449957776, -0.02120733959403598, -0.642439898181621, -1.0597993466297206, -0.8237039100427359, 0.265065657431864, 0.856492446785688, -0.022162936727173486, -0.8378600476158674, -0.24202708087827066, 0.7661621476781921, 1.110851446807837, 0.7334782497375953, -0.19604083328889133, -0.7767874366303583, -0.19960608098306046, 0.7442419567519329, 1.1021390478953919, 0.7621718117508358, -0.2279706381391869, -0.8566075585134577, -0.014523950412114933, 0.8956878607912002, 0.2031847194823793, -0.8590960372868359, -0.9037640628156428, -0.6384354626902238, -0.6418468961629767, -0.6972905655659191, -0.8295081610344438, -0.75336030166678, -0.06371099534624729, 0.7469059588768265, 1.0091981479043493, 0.6892638352155233, 0.010433271730807492, -0.6990168570572781, -1.0195483817807387, -0.7245281591204413, 0.04940571217794372, 0.7380066957315401, 0.8611504776216674, 0.6772851899539332, 0.6365704309810768, 0.7161466474566263, 0.7855407885789869, 0.7268081345517742] - - variable_qtgui_range @@ -155,11 +101,11 @@ _enabled - True + 1 _coordinate - (1364, 3) + (958, 499) gui_hint @@ -206,119 +152,6 @@ counter_slider - - variable - - comment - - - - _enabled - 1 - - - _coordinate - (726, 1114) - - - _rotation - 0 - - - id - header_format - - - value - digital.packet_header_default(64) - - - - variable_constellation_rect - - comment - - - - const_points - [1, -1] - - - _enabled - True - - - _coordinate - (854, 131) - - - _rotation - 0 - - - id - header_mod - - - imag_sect - 2 - - - real_sect - 2 - - - rot_sym - 2 - - - soft_dec_lut - None - - - precision - 8 - - - sym_map - [0, 1] - - - w_imag_sect - 1 - - - w_real_sect - 1 - - - - variable - - comment - - - - _enabled - True - - - _coordinate - (599, 3) - - - _rotation - 0 - - - id - nfilts - - - value - 32 - - variable_qtgui_range @@ -331,11 +164,11 @@ _enabled - True + 1 _coordinate - (1244, 3) + (838, 499) gui_hint @@ -382,241 +215,6 @@ counter_slider - - variable_cc_decoder_def - - padding - True - - - comment - - - - k - 7 - - - dim1 - 1 - - - dim2 - 1 - - - _enabled - True - - - state_end - -1 - - - framebits - 8*(MTU+4)*2 - - - _coordinate - (2244, 1050) - - - _rotation - 0 - - - id - payload_dec - - - value - "ok" - - - ndim - 0 - - - polys - [79,109] - - - rate - 2 - - - state_start - 0 - - - mode - fec.CC_TERMINATED - - - - variable_constellation - - comment - - - - const_points - [-1-1j, -1+1j, 1+1j, 1-1j] - - - type - 16qam - - - dims - 1 - - - _enabled - True - - - _coordinate - (686, 131) - - - _rotation - 0 - - - id - payload_mod - - - rot_sym - 4 - - - soft_dec_lut - None - - - precision - 8 - - - sym_map - [0, 1, 3, 2] - - - - variable - - comment - - - - _enabled - 1 - - - _coordinate - (1006, 3) - - - _rotation - 0 - - - id - preamble - - - value - [1, -1, -1, 1, -1, -1, -1, -1, -1, 1, 1, 1, -1, -1, -1, -1, 1, 1, -1, 1, -1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, 1, -1, 1, -1, 1, 1, -1, 1, -1, 1, -1, -1, -1, -1, -1, 1, -1, 1, -1, 1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, -1, -1, 1, -1, -1, -1, 1, 1, -1, 1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, 1, 1, -1, 1, 1, -1, 1, -1, -1, -1, -1, 1, 1, -1, -1, 1, 1, 1, 1] - - - - variable_rrc_filter_taps - - comment - - - - _enabled - True - - - alpha - 0.35 - - - _coordinate - (838, 3) - - - _rotation - 0 - - - gain - nfilts - - - id - rrc_taps_corr - - - ntaps - int(11*nfilts) - - - samp_rate - nfilts - - - sym_rate - 1 - - - - variable_rrc_filter_taps - - comment - - - - _enabled - True - - - alpha - 0.35 - - - _coordinate - (686, 3) - - - _rotation - 0 - - - gain - nfilts - - - id - rrc_taps_ppcs - - - ntaps - int(11*sps*nfilts) - - - samp_rate - samp_rate - - - sym_rate - sym_rate/nfilts - - variable @@ -644,366 +242,6 @@ 300e3 - - variable - - comment - - - - _enabled - True - - - _coordinate - (519, 3) - - - _rotation - 0 - - - id - sps - - - value - samp_rate/sym_rate - - - - variable - - comment - - - - _enabled - True - - - _coordinate - (439, 3) - - - _rotation - 0 - - - id - sym_rate - - - value - 150e3 - - - - analog_agc_xx - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (918, 818) - - - _rotation - 0 - - - gain - 1.0 - - - id - analog_agc_xx_0 - - - max_gain - 65536 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - rate - 1e-4 - - - reference - 1.0 - - - type - complex - - - - analog_sig_source_x - - amp - 1 - - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - freq - 0 - - - _coordinate - (966, 467) - - - _rotation - 0 - - - id - analog_sig_source_x_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - offset - 0 - - - type - complex - - - samp_rate - samp_rate - - - waveform - analog.GR_COS_WAVE - - - - blocks_add_const_vxx - - alias - - - - comment - - - - const - -1 - - - affinity - - - - _enabled - 1 - - - _coordinate - (1637, 1321) - - - _rotation - 0 - - - id - blocks_add_const_vxx_0 - - - type - float - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - vlen - 1 - - - - blocks_char_to_float - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (1477, 1321) - - - _rotation - 0 - - - id - blocks_char_to_float_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - scale - 0.5 - - - vlen - 1 - - - - blocks_complex_to_float - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (335, 998) - - - _rotation - 0 - - - id - blocks_complex_to_float_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - vlen - 1 - - - - blocks_complex_to_mag - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (375, 958) - - - _rotation - 0 - - - id - blocks_complex_to_mag_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - vlen - 1 - - blocks_message_debug @@ -1020,11 +258,11 @@ _enabled - 1 + True _coordinate - (2723, 1262) + (487, 654) _rotation @@ -1035,261 +273,6 @@ blocks_message_debug_0 - - blocks_message_debug - - alias - - - - comment - - - - affinity - - - - _enabled - 0 - - - _coordinate - (1357, 686) - - - _rotation - 0 - - - id - blocks_message_debug_0_0 - - - - blocks_multiply_xx - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (1166, 391) - - - _rotation - 0 - - - id - blocks_multiply_xx_0 - - - type - complex - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - num_inputs - 2 - - - vlen - 1 - - - - blocks_repack_bits_bb - - k - payload_mod.bits_per_symbol() - - - l - 1 - - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - endianness - gr.GR_LSB_FIRST - - - _coordinate - (1277, 1313) - - - _rotation - 0 - - - id - blocks_repack_bits_bb_0 - - - len_tag_key - packet_len - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - align_output - False - - - - blocks_repack_bits_bb - - k - 1 - - - l - 8 - - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - endianness - gr.GR_LSB_FIRST - - - _coordinate - (2156, 1313) - - - _rotation - 0 - - - id - blocks_repack_bits_bb_0_0 - - - len_tag_key - packet_len - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - align_output - False - - - - blocks_tag_debug - - alias - - - - comment - - - - affinity - - - - display - True - - - _enabled - 0 - - - _coordinate - (2164, 1425) - - - _rotation - 0 - - - id - blocks_tag_debug_0 - - - type - byte - - - filter - "" - - - name - - - - num_inputs - 1 - - - vlen - 1 - - blocks_tag_gate @@ -1310,7 +293,7 @@ _coordinate - (542, 379) + (559, 379) _rotation @@ -1345,61 +328,6 @@ 1 - - blocks_tagged_stream_multiply_length - - alias - - - - comment - - - - affinity - - - - _enabled - 0 - - - _coordinate - (1254, 1405) - - - _rotation - 0 - - - id - blocks_tagged_stream_multiply_length_0 - - - type - float - - - c - payload_mod.bits_per_symbol() - - - lengthtagname - packet_len - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - vlen - 1 - - blocks_tagged_stream_to_pdu @@ -1447,53 +375,6 @@ 0 - - blocks_tagged_stream_to_pdu - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (2340, 1321) - - - _rotation - 0 - - - id - blocks_tagged_stream_to_pdu_1_0_0 - - - type - byte - - - tag - packet_len - - - maxoutbuf - 0 - - - minoutbuf - 0 - - blocks_throttle @@ -1514,7 +395,7 @@ _coordinate - (311, 386) + (319, 387) _rotation @@ -1604,65 +485,6 @@ 1 - - blocks_vector_source_x - - alias - - - - comment - - - - affinity - - - - _enabled - 0 - - - _coordinate - (23, 259) - - - _rotation - 0 - - - id - blocks_vector_source_x_0_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - type - byte - - - repeat - True - - - tags - tagged_streams.make_lengthtags((400,), (0,), "packet_len") - - - vlen - 1 - - - vector - [random.randint(0,255) for i in range(400)] - - blocks_vector_source_x @@ -1683,7 +505,7 @@ _coordinate - (23, 171) + (15, 259) _rotation @@ -1754,7 +576,7 @@ _coordinate - (957, 355) + (335, 499) _rotation @@ -1786,136 +608,7 @@ - digital_constellation_decoder_cb - - alias - - - - comment - - - - constellation - payload_mod - - - affinity - - - - _enabled - 1 - - - _coordinate - (926, 1321) - - - _rotation - 0 - - - id - digital_constellation_decoder_cb_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - - digital_constellation_decoder_cb - - alias - - - - comment - - - - constellation - header_mod - - - affinity - - - - _enabled - True - - - _coordinate - (926, 1273) - - - _rotation - 0 - - - id - digital_constellation_decoder_cb_0_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - - digital_constellation_soft_decoder_cf - - alias - - - - comment - - - - constellation - payload_mod - - - affinity - - - - _enabled - 0 - - - _coordinate - (926, 1401) - - - _rotation - 0 - - - id - digital_constellation_soft_decoder_cf_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - - digital_corr_est_cc + hamnet70_demod_sc16qam alias @@ -1934,7 +627,7 @@ _coordinate - (71, 834) + (223, 654) _rotation @@ -1942,7 +635,7 @@ id - digital_corr_est_cc_0 + hamnet70_demod_sc16qam_0 maxoutbuf @@ -1952,465 +645,9 @@ minoutbuf 0 - - sps - sps - - - symbols - filtered_preamble - - - mark_delay - 14 - - - threshold - 0.995 - - - - digital_crc32_async_bb - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (2555, 1321) - - - _rotation - 0 - - - id - digital_crc32_async_bb_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - check - True - - - - digital_header_payload_demux - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (559, 1242) - - - _rotation - 0 - - - guard_interval - 0 - - - header_len - 64 - - - header_padding - 0 - - - id - digital_header_payload_demux_0 - - - type - complex - - - items_per_symbol - 1 - - - length_tag_key - "packet_len" - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - output_symbols - False - samp_rate - int(sym_rate) - - - special_tags - () - - - timing_tag_key - "rx_time" - - - trigger_tag_key - "data_start" - - - - digital_packet_headerparser_b - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - header_formatter - header_format - - - _coordinate - (718, 1178) - - - _rotation - 180 - - - id - digital_packet_headerparser_b_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - - digital_pfb_clock_sync_xxx - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - filter_size - nfilts - - - _coordinate - (327, 794) - - - _rotation - 0 - - - id - digital_pfb_clock_sync_xxx_0 - - - init_phase - 16 - - - loop_bw - 1e-3 - - - maxoutbuf - 0 - - - max_dev - 1.5 - - - minoutbuf - 0 - - - osps - 1 - - - sps - sps - - - taps - rrc_taps_ppcs - - - type - ccf - - - - fec_extended_tagged_decoder - - ann - None - - - alias - - - - comment - - - - affinity - - - - decoder_list - payload_dec - - - _enabled - True - - - _coordinate - (1916, 1289) - - - _rotation - 0 - - - id - fec_extended_tagged_decoder_0 - - - lentagname - packet_len - - - mtu - 8*(MTU+4)*2 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - puncpat - '11' - - - value - fec_extended_decoder - - - - hamnet70_correct_phase_from_tag - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (686, 794) - - - _rotation - 0 - - - id - hamnet70_correct_phase_from_tag_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - phase_tag_name - phase_est - - - - hamnet70_freq_est_lr - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (766, 710) - - - _rotation - 0 - - - id - hamnet70_freq_est_lr_0 - - - kappa - 3 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - symbols - preamble - - - - hamnet70_insert_delayed_tag - - alias - - - - comment - - - - affinity - - - - delay - len(preamble)+1 - - - _enabled - True - - - _coordinate - (255, 1258) - - - _rotation - 0 - - - id - hamnet70_insert_delayed_tag_0 - - - insert_tag - data_start - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - trigger_tag - corr_est + 300e3 @@ -2433,7 +670,7 @@ _coordinate - (79, 386) + (87, 387) _rotation @@ -2456,65 +693,6 @@ samp_rate - - hamnet70_pid_controller - - alias - - - - comment - - - - affinity - - - - d - 0.0 - - - _enabled - True - - - _coordinate - (998, 674) - - - _rotation - 0 - - - i - 0.03 - - - id - hamnet70_pid_controller_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - p - 0.001 - - - post_gain - -sym_rate - - - interval - 1500 - - import @@ -2558,7 +736,7 @@ _enabled - True + 0 _coordinate @@ -2589,7 +767,7 @@ _enabled - True + 0 _coordinate @@ -2608,353 +786,6 @@ import numpy as np - - qtgui_const_sink_x - - autoscale - False - - - axislabels - True - - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (1246, 906) - - - gui_hint - - - - _rotation - 0 - - - grid - False - - - id - qtgui_const_sink_x_0 - - - legend - True - - - alpha1 - 1.0 - - - color1 - "blue" - - - label1 - - - - marker1 - 0 - - - style1 - 0 - - - width1 - 1 - - - alpha10 - 1.0 - - - color10 - "red" - - - label10 - - - - marker10 - 0 - - - style10 - 0 - - - width10 - 1 - - - alpha2 - 1.0 - - - color2 - "red" - - - label2 - - - - marker2 - 0 - - - style2 - 0 - - - width2 - 1 - - - alpha3 - 1.0 - - - color3 - "red" - - - label3 - - - - marker3 - 0 - - - style3 - 0 - - - width3 - 1 - - - alpha4 - 1.0 - - - color4 - "red" - - - label4 - - - - marker4 - 0 - - - style4 - 0 - - - width4 - 1 - - - alpha5 - 1.0 - - - color5 - "red" - - - label5 - - - - marker5 - 0 - - - style5 - 0 - - - width5 - 1 - - - alpha6 - 1.0 - - - color6 - "red" - - - label6 - - - - marker6 - 0 - - - style6 - 0 - - - width6 - 1 - - - alpha7 - 1.0 - - - color7 - "red" - - - label7 - - - - marker7 - 0 - - - style7 - 0 - - - width7 - 1 - - - alpha8 - 1.0 - - - color8 - "red" - - - label8 - - - - marker8 - 0 - - - style8 - 0 - - - width8 - 1 - - - alpha9 - 1.0 - - - color9 - "red" - - - label9 - - - - marker9 - 0 - - - style9 - 0 - - - width9 - 1 - - - name - "After Sync" - - - nconnections - 1 - - - size - 1024 - - - tr_chan - 0 - - - tr_level - 0.0 - - - tr_mode - qtgui.TRIG_MODE_FREE - - - tr_slope - qtgui.TRIG_SLOPE_POS - - - tr_tag - "corr_est" - - - type - complex - - - update_time - 0.10 - - - xmax - 2 - - - xmin - -2 - - - ymax - 2 - - - ymin - -2 - - qtgui_sink_x @@ -2991,7 +822,7 @@ _coordinate - (1166, 267) + (535, 499) gui_hint @@ -3054,2146 +885,9 @@ firdes.WIN_BLACKMAN_hARRIS - - qtgui_sink_x - - bw - samp_rate - - - alias - - - - fc - 0 - - - freqchangevar - None - - - comment - - - - affinity - - - - _enabled - 0 - - - fftsize - 1024 - - - _coordinate - (518, 450) - - - gui_hint - - - - _rotation - 0 - - - id - qtgui_sink_x_0_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - name - "" - - - plotconst - True - - - plotfreq - True - - - plottime - True - - - plotwaterfall - True - - - showports - True - - - showrf - False - - - type - complex - - - rate - 10 - - - wintype - firdes.WIN_BLACKMAN_hARRIS - - - - qtgui_time_sink_x - - autoscale - False - - - axislabels - True - - - alias - - - - comment - - - - ctrlpanel - False - - - affinity - - - - entags - True - - - _enabled - 1 - - - _coordinate - (559, 966) - - - gui_hint - - - - _rotation - 0 - - - grid - False - - - id - qtgui_time_sink_x_0 - - - legend - True - - - alpha1 - 1.0 - - - color1 - "blue" - - - label1 - - - - marker1 - -1 - - - style1 - 1 - - - width1 - 1 - - - alpha10 - 1.0 - - - color10 - "blue" - - - label10 - - - - marker10 - -1 - - - style10 - 1 - - - width10 - 1 - - - alpha2 - 1.0 - - - color2 - "red" - - - label2 - - - - marker2 - -1 - - - style2 - 1 - - - width2 - 1 - - - alpha3 - 1.0 - - - color3 - "green" - - - label3 - - - - marker3 - -1 - - - style3 - 1 - - - width3 - 1 - - - alpha4 - 1.0 - - - color4 - "black" - - - label4 - - - - marker4 - -1 - - - style4 - 1 - - - width4 - 1 - - - alpha5 - 1.0 - - - color5 - "cyan" - - - label5 - - - - marker5 - -1 - - - style5 - 1 - - - width5 - 1 - - - alpha6 - 1.0 - - - color6 - "magenta" - - - label6 - - - - marker6 - -1 - - - style6 - 1 - - - width6 - 1 - - - alpha7 - 1.0 - - - color7 - "yellow" - - - label7 - - - - marker7 - -1 - - - style7 - 1 - - - width7 - 1 - - - alpha8 - 1.0 - - - color8 - "dark red" - - - label8 - - - - marker8 - -1 - - - style8 - 1 - - - width8 - 1 - - - alpha9 - 1.0 - - - color9 - "dark green" - - - label9 - - - - marker9 - -1 - - - style9 - 1 - - - width9 - 1 - - - name - "" - - - nconnections - 3 - - - size - 1024 - - - srate - samp_rate - - - stemplot - False - - - tr_chan - 0 - - - tr_delay - 100/samp_rate - - - tr_level - 80 - - - tr_mode - qtgui.TRIG_MODE_TAG - - - tr_slope - qtgui.TRIG_SLOPE_POS - - - tr_tag - "corr_est" - - - type - float - - - update_time - 0.01 - - - ylabel - Amplitude - - - yunit - "" - - - ymax - 150 - - - ymin - -150 - - - - qtgui_time_sink_x - - autoscale - False - - - axislabels - True - - - alias - - - - comment - - - - ctrlpanel - False - - - affinity - - - - entags - True - - - _enabled - 1 - - - _coordinate - (1246, 802) - - - gui_hint - - - - _rotation - 0 - - - grid - False - - - id - qtgui_time_sink_x_1 - - - legend - True - - - alpha1 - 1.0 - - - color1 - "blue" - - - label1 - - - - marker1 - -1 - - - style1 - 1 - - - width1 - 1 - - - alpha10 - 1.0 - - - color10 - "blue" - - - label10 - - - - marker10 - -1 - - - style10 - 1 - - - width10 - 1 - - - alpha2 - 1.0 - - - color2 - "red" - - - label2 - - - - marker2 - -1 - - - style2 - 1 - - - width2 - 1 - - - alpha3 - 1.0 - - - color3 - "green" - - - label3 - - - - marker3 - -1 - - - style3 - 1 - - - width3 - 1 - - - alpha4 - 1.0 - - - color4 - "black" - - - label4 - - - - marker4 - -1 - - - style4 - 1 - - - width4 - 1 - - - alpha5 - 1.0 - - - color5 - "cyan" - - - label5 - - - - marker5 - -1 - - - style5 - 1 - - - width5 - 1 - - - alpha6 - 1.0 - - - color6 - "magenta" - - - label6 - - - - marker6 - -1 - - - style6 - 1 - - - width6 - 1 - - - alpha7 - 1.0 - - - color7 - "yellow" - - - label7 - - - - marker7 - -1 - - - style7 - 1 - - - width7 - 1 - - - alpha8 - 1.0 - - - color8 - "dark red" - - - label8 - - - - marker8 - -1 - - - style8 - 1 - - - width8 - 1 - - - alpha9 - 1.0 - - - color9 - "dark green" - - - label9 - - - - marker9 - -1 - - - style9 - 1 - - - width9 - 1 - - - name - "After Sync" - - - nconnections - 1 - - - size - 1024 - - - srate - sym_rate - - - stemplot - False - - - tr_chan - 0 - - - tr_delay - 100/sym_rate - - - tr_level - 0.0 - - - tr_mode - qtgui.TRIG_MODE_TAG - - - tr_slope - qtgui.TRIG_SLOPE_POS - - - tr_tag - "phase_est" - - - type - complex - - - update_time - 0.10 - - - ylabel - Amplitude - - - yunit - "" - - - ymax - 1 - - - ymin - -1 - - - - qtgui_time_sink_x - - autoscale - False - - - axislabels - True - - - alias - - - - comment - - - - ctrlpanel - False - - - affinity - - - - entags - True - - - _enabled - True - - - _coordinate - (487, 1433) - - - gui_hint - - - - _rotation - 0 - - - grid - False - - - id - qtgui_time_sink_x_1_0 - - - legend - True - - - alpha1 - 1.0 - - - color1 - "blue" - - - label1 - - - - marker1 - -1 - - - style1 - 1 - - - width1 - 1 - - - alpha10 - 1.0 - - - color10 - "blue" - - - label10 - - - - marker10 - -1 - - - style10 - 1 - - - width10 - 1 - - - alpha2 - 1.0 - - - color2 - "red" - - - label2 - - - - marker2 - -1 - - - style2 - 1 - - - width2 - 1 - - - alpha3 - 1.0 - - - color3 - "green" - - - label3 - - - - marker3 - -1 - - - style3 - 1 - - - width3 - 1 - - - alpha4 - 1.0 - - - color4 - "black" - - - label4 - - - - marker4 - -1 - - - style4 - 1 - - - width4 - 1 - - - alpha5 - 1.0 - - - color5 - "cyan" - - - label5 - - - - marker5 - -1 - - - style5 - 1 - - - width5 - 1 - - - alpha6 - 1.0 - - - color6 - "magenta" - - - label6 - - - - marker6 - -1 - - - style6 - 1 - - - width6 - 1 - - - alpha7 - 1.0 - - - color7 - "yellow" - - - label7 - - - - marker7 - -1 - - - style7 - 1 - - - width7 - 1 - - - alpha8 - 1.0 - - - color8 - "dark red" - - - label8 - - - - marker8 - -1 - - - style8 - 1 - - - width8 - 1 - - - alpha9 - 1.0 - - - color9 - "dark green" - - - label9 - - - - marker9 - -1 - - - style9 - 1 - - - width9 - 1 - - - name - "After Tagging" - - - nconnections - 1 - - - size - 1024 - - - srate - sym_rate - - - stemplot - False - - - tr_chan - 0 - - - tr_delay - 100/sym_rate - - - tr_level - 0.0 - - - tr_mode - qtgui.TRIG_MODE_TAG - - - tr_slope - qtgui.TRIG_SLOPE_POS - - - tr_tag - "data_start" - - - type - complex - - - update_time - 0.10 - - - ylabel - Amplitude - - - yunit - "" - - - ymax - 1 - - - ymin - -1 - - - - qtgui_time_sink_x - - autoscale - False - - - axislabels - True - - - alias - - - - comment - - - - ctrlpanel - False - - - affinity - - - - entags - True - - - _enabled - 0 - - - _coordinate - (599, 858) - - - gui_hint - - - - _rotation - 0 - - - grid - False - - - id - qtgui_time_sink_x_1_0_0 - - - legend - True - - - alpha1 - 1.0 - - - color1 - "blue" - - - label1 - - - - marker1 - -1 - - - style1 - 1 - - - width1 - 1 - - - alpha10 - 1.0 - - - color10 - "blue" - - - label10 - - - - marker10 - -1 - - - style10 - 1 - - - width10 - 1 - - - alpha2 - 1.0 - - - color2 - "red" - - - label2 - - - - marker2 - -1 - - - style2 - 1 - - - width2 - 1 - - - alpha3 - 1.0 - - - color3 - "green" - - - label3 - - - - marker3 - -1 - - - style3 - 1 - - - width3 - 1 - - - alpha4 - 1.0 - - - color4 - "black" - - - label4 - - - - marker4 - -1 - - - style4 - 1 - - - width4 - 1 - - - alpha5 - 1.0 - - - color5 - "cyan" - - - label5 - - - - marker5 - -1 - - - style5 - 1 - - - width5 - 1 - - - alpha6 - 1.0 - - - color6 - "magenta" - - - label6 - - - - marker6 - -1 - - - style6 - 1 - - - width6 - 1 - - - alpha7 - 1.0 - - - color7 - "yellow" - - - label7 - - - - marker7 - -1 - - - style7 - 1 - - - width7 - 1 - - - alpha8 - 1.0 - - - color8 - "dark red" - - - label8 - - - - marker8 - -1 - - - style8 - 1 - - - width8 - 1 - - - alpha9 - 1.0 - - - color9 - "dark green" - - - label9 - - - - marker9 - -1 - - - style9 - 1 - - - width9 - 1 - - - name - "Before Freq Sync" - - - nconnections - 1 - - - size - 1024 - - - srate - sym_rate - - - stemplot - False - - - tr_chan - 0 - - - tr_delay - 100/sym_rate - - - tr_level - 0.0 - - - tr_mode - qtgui.TRIG_MODE_TAG - - - tr_slope - qtgui.TRIG_SLOPE_POS - - - tr_tag - "corr_est" - - - type - complex - - - update_time - 0.10 - - - ylabel - Amplitude - - - yunit - "" - - - ymax - 1 - - - ymin - -1 - - - - qtgui_time_sink_x - - autoscale - False - - - axislabels - True - - - alias - - - - comment - - - - ctrlpanel - False - - - affinity - - - - entags - True - - - _enabled - 0 - - - _coordinate - (2028, 1098) - - - gui_hint - - - - _rotation - 0 - - - grid - False - - - id - qtgui_time_sink_x_1_1 - - - legend - True - - - alpha1 - 1.0 - - - color1 - "blue" - - - label1 - - - - marker1 - -1 - - - style1 - 1 - - - width1 - 1 - - - alpha10 - 1.0 - - - color10 - "blue" - - - label10 - - - - marker10 - -1 - - - style10 - 1 - - - width10 - 1 - - - alpha2 - 1.0 - - - color2 - "red" - - - label2 - - - - marker2 - -1 - - - style2 - 1 - - - width2 - 1 - - - alpha3 - 1.0 - - - color3 - "green" - - - label3 - - - - marker3 - -1 - - - style3 - 1 - - - width3 - 1 - - - alpha4 - 1.0 - - - color4 - "black" - - - label4 - - - - marker4 - -1 - - - style4 - 1 - - - width4 - 1 - - - alpha5 - 1.0 - - - color5 - "cyan" - - - label5 - - - - marker5 - -1 - - - style5 - 1 - - - width5 - 1 - - - alpha6 - 1.0 - - - color6 - "magenta" - - - label6 - - - - marker6 - -1 - - - style6 - 1 - - - width6 - 1 - - - alpha7 - 1.0 - - - color7 - "yellow" - - - label7 - - - - marker7 - -1 - - - style7 - 1 - - - width7 - 1 - - - alpha8 - 1.0 - - - color8 - "dark red" - - - label8 - - - - marker8 - -1 - - - style8 - 1 - - - width8 - 1 - - - alpha9 - 1.0 - - - color9 - "dark green" - - - label9 - - - - marker9 - -1 - - - style9 - 1 - - - width9 - 1 - - - name - "RX Bits" - - - nconnections - 1 - - - size - 8*(MTU+4)*2 - - - srate - sym_rate - - - stemplot - False - - - tr_chan - 0 - - - tr_delay - 100/sym_rate - - - tr_level - 0.0 - - - tr_mode - qtgui.TRIG_MODE_TAG - - - tr_slope - qtgui.TRIG_SLOPE_POS - - - tr_tag - "packet_len" - - - type - float - - - update_time - 0.10 - - - ylabel - Amplitude - - - yunit - "" - - - ymax - 1 - - - ymin - -1 - - - - rational_resampler_xxx - - alias - - - - comment - - - - affinity - - - - decim - 1 - - - _enabled - 2 - - - fbw - 0 - - - _coordinate - (750, 363) - - - _rotation - 0 - - - id - rational_resampler_xxx_0 - - - interp - 2 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - taps - - - - type - ccc - - - - virtual_sink - - comment - - - - _enabled - True - - - _coordinate - (1246, 994) - - - _rotation - 0 - - - id - virtual_sink_0 - - - stream_id - synced_symbols - - - - virtual_source - - comment - - - - _enabled - True - - - _coordinate - (39, 1273) - - - _rotation - 0 - - - id - virtual_source_0 - - - stream_id - synced_symbols - - - - analog_agc_xx_0 - qtgui_const_sink_x_0 - 0 - 0 - - - analog_agc_xx_0 - qtgui_time_sink_x_1 - 0 - 0 - - - analog_agc_xx_0 - virtual_sink_0 - 0 - 0 - - - analog_sig_source_x_0 - blocks_multiply_xx_0 - 0 - 1 - - - blocks_add_const_vxx_0 - fec_extended_tagged_decoder_0 - 0 - 0 - - - blocks_add_const_vxx_0 - qtgui_time_sink_x_1_1 - 0 - 0 - - - blocks_char_to_float_0 - blocks_add_const_vxx_0 - 0 - 0 - - - blocks_complex_to_float_0 - qtgui_time_sink_x_0 - 1 - 2 - - - blocks_complex_to_float_0 - qtgui_time_sink_x_0 - 0 - 1 - - - blocks_complex_to_mag_0 - qtgui_time_sink_x_0 - 0 - 0 - - - blocks_multiply_xx_0 - digital_corr_est_cc_0 - 0 - 0 - - - blocks_repack_bits_bb_0 - blocks_char_to_float_0 - 0 - 0 - - - blocks_repack_bits_bb_0_0 - blocks_tagged_stream_to_pdu_1_0_0 - 0 - 0 - blocks_tag_gate_0 - rational_resampler_xxx_0 - 0 - 0 - - - blocks_tagged_stream_multiply_length_0 - fec_extended_tagged_decoder_0 - 0 - 0 - - - blocks_tagged_stream_multiply_length_0 - qtgui_time_sink_x_1_1 + channels_channel_model_0 0 0 @@ -5203,36 +897,18 @@ pdus packet_in - - blocks_tagged_stream_to_pdu_1_0_0 - digital_crc32_async_bb_0 - pdus - in - blocks_throttle_0 blocks_tag_gate_0 0 0 - - blocks_throttle_0 - qtgui_sink_x_0_0 - 0 - 0 - blocks_throttle_0_0 blocks_tagged_stream_to_pdu_0 0 0 - - blocks_vector_source_x_0_0 - blocks_throttle_0_0 - 0 - 0 - blocks_vector_source_x_0_0_0 blocks_throttle_0_0 @@ -5241,7 +917,7 @@ channels_channel_model_0 - blocks_multiply_xx_0 + hamnet70_demod_sc16qam_0 0 0 @@ -5252,153 +928,15 @@ 0 - digital_constellation_decoder_cb_0 - blocks_repack_bits_bb_0 - 0 - 0 - - - digital_constellation_decoder_cb_0_0 - digital_packet_headerparser_b_0 - 0 - 0 - - - digital_constellation_soft_decoder_cf_0 - blocks_tagged_stream_multiply_length_0 - 0 - 0 - - - digital_corr_est_cc_0 - blocks_complex_to_float_0 - 1 - 0 - - - digital_corr_est_cc_0 - blocks_complex_to_mag_0 - 1 - 0 - - - digital_corr_est_cc_0 - digital_pfb_clock_sync_xxx_0 - 0 - 0 - - - digital_crc32_async_bb_0 + hamnet70_demod_sc16qam_0 blocks_message_debug_0 - out + pdu_out print_pdu - - digital_header_payload_demux_0 - digital_constellation_decoder_cb_0_0 - 0 - 0 - - - digital_header_payload_demux_0 - digital_constellation_decoder_cb_0 - 1 - 0 - - - digital_header_payload_demux_0 - digital_constellation_soft_decoder_cf_0 - 1 - 0 - - - digital_packet_headerparser_b_0 - digital_header_payload_demux_0 - header_data - header_data - - - digital_pfb_clock_sync_xxx_0 - hamnet70_correct_phase_from_tag_0 - 0 - 0 - - - digital_pfb_clock_sync_xxx_0 - hamnet70_freq_est_lr_0 - 0 - 0 - - - digital_pfb_clock_sync_xxx_0 - qtgui_time_sink_x_1_0_0 - 0 - 0 - - - fec_extended_tagged_decoder_0 - blocks_repack_bits_bb_0_0 - 0 - 0 - - - fec_extended_tagged_decoder_0 - blocks_tag_debug_0 - 0 - 0 - - - hamnet70_correct_phase_from_tag_0 - analog_agc_xx_0 - 0 - 0 - - - hamnet70_freq_est_lr_0 - hamnet70_pid_controller_0 - 0 - 0 - - - hamnet70_insert_delayed_tag_0 - digital_header_payload_demux_0 - 0 - 0 - - - hamnet70_insert_delayed_tag_0 - qtgui_time_sink_x_1_0 - 0 - 0 - hamnet70_mod_sc16qam_0 blocks_throttle_0 0 0 - - hamnet70_pid_controller_0 - analog_sig_source_x_0 - control_value - freq - - - hamnet70_pid_controller_0 - blocks_message_debug_0_0 - control_value - print - - - rational_resampler_xxx_0 - channels_channel_model_0 - 0 - 0 - - - virtual_source_0 - hamnet70_insert_delayed_tag_0 - 0 - 0 -