From 9cd866b2ba3da046544cfa10e35c2167e9bc3dae Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Mon, 16 Sep 2019 23:31:57 +0200 Subject: [PATCH] Converted some test flow graphs to GR 3.8 (not working yet) --- grc/hamnet70_demod_sc16qam.grc | 4000 +++++++++----------------------- grc/hamnet70_mod_sc16qam.grc | 2266 +++++------------- tmp/test_sc16qam.grc | 3407 +++++++-------------------- 3 files changed, 2482 insertions(+), 7191 deletions(-) diff --git a/grc/hamnet70_demod_sc16qam.grc b/grc/hamnet70_demod_sc16qam.grc index a114142..8047fff 100644 --- a/grc/hamnet70_demod_sc16qam.grc +++ b/grc/hamnet70_demod_sc16qam.grc @@ -1,2901 +1,1099 @@ - - - - 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 - True - - - _coordinate - (1317, 75) - - - _rotation - 0 - - - id - filtered_preamble - - - value - [0.07597830170169104, -0.485565799912578, -0.8175675329652012, -0.08705845483279175, 0.8422499558933448, 0.8339672761862603, 0.5639986226766744, 0.8648579357306525, 0.8449626712400287, -0.14824742609024513, -0.839014751834186, -0.16052714055616374, 0.8461746738478428, 0.876699004960063, 0.5438574109711131, 0.8487497724723243, 0.901973957473885, -0.20608854557827685, -0.9237427266655129, 0.05657914223714758, 0.9244658087744888, 0.04699371313815648, -0.9078922909067606, -0.2143141706138818, 0.8906000008118203, 0.8703820417093556, 0.5269498118145474, 0.8744741132106794, 0.8951714615192253, -0.22348375942671786, -0.8928255879900311, 0.03052455222662204, 0.8525876862735934, 0.21700197016591458, -0.7648812444829712, -1.0877913873718514, -0.7644834347657942, 0.21643221210655272, 0.8636472003816641, 0.01784265360684956, -0.9039566593790512, -0.19720847977616437, 0.8683114899162668, 0.8868479082980585, 0.6404092867407761, 0.6568225109789249, 0.6624694331403292, 0.8628193131616877, 0.837852363582882, -0.12860147200310587, -0.874266046060146, -0.1397125213702271, 0.8617313892859799, 0.8365471578775032, 0.5956040882182279, 0.8221390022883328, 0.7681778127699552, 0.04511039330468456, -0.7314414499147517, -1.00914363652948, -0.69255650622215, -0.00674900652370137, 0.6746184620556512, 1.0527665810823903, 0.7726368241443928, -0.19092892072381876, -0.7950968236154203, -0.186027302053198, 0.7812358777756694, 1.03818942039578, 0.6925283076118456, -0.020947352787426186, -0.7789051309184633, -0.8343080373730677, -0.563711037581479, -0.8612923740231458, -0.8665319687185258, 0.17029796271970854, 0.8159891988904876, 0.17319975656809514, -0.7279801670404227, -1.09567867421579, -0.7585882059990467, 0.20918713334896463, 0.7726741082646805, 0.1930510198005684, -0.728560692857744, -1.1137407463348976, -0.7472126518860863, 0.21357460848768628, 0.7717344911429374, 0.18885744657646908, -0.7323441910313696, -1.104674088894687, -0.7679625570657318, 0.23666454512442675, 0.8508038023417438, 0.01276932958576111, -0.8845266294861591, -0.21444381674751473, 0.8586095453652112, 0.9155050626835117, 0.6092856462718013, 0.6722760775856454, 0.7701471297773871, 0.6539225174099268, 0.6302779977116016, 0.91090996468133, 0.8362594732977642, -0.18455939606545796, -0.8887179714994841, -0.013005158485466996, 0.9033103994723838, 0.19446514877164953, -0.866776436873287, -0.8865107735063715, -0.6165664534570771, -0.6944400533786077, -0.7275728844384133, -0.6881540811334937, -0.736412979084662, -0.683950646048729, -0.6496500909399723, -0.8500012951267402, -0.7838311346696109, 0.0010927905014069478, 0.8016466380788749, 0.8190147792156793, 0.6025614719729334, 0.8228346005611357, 0.802787876393007, -0.003842004779830683, -0.7753807311708878, -0.8552149342918304, -0.6664053831716811, -0.6591347883332134, -0.7480549713000103, -0.6911855810423027, -0.6215407667183455, -0.8834482281221873, -0.8679653913970135, 0.19240729701925668, 0.934116366440915, -0.05507762635239145, -0.9481072897019951, -0.020323963798468382, 0.8894253424178579, 0.2166381550010981, -0.7741079434916102, -1.0767523060604507, -0.7685461986012558, 0.21082602140258022, 0.8641896067442316, 0.022830556170658094, -0.8992821725529172, -0.20849132170440776, 0.8748402251802601, 0.8910516213413703, 0.6034003341368249, 0.7045419675600119, 0.7338568667875991, 0.6706647255835935, 0.7506755036294196, 0.6851592980678056, 0.610761208212266, 0.9016642779352577, 0.8332298109781053, -0.16286252640823884, -0.83725250477382, -0.1474894987345423, 0.8180937445788066, 0.9027584846247846, 0.6310113259481372, 0.6610732581385319, 0.7464254443566228, 0.7004768060860638, 0.6921662697864044, 0.7302911658029473, 0.7181215430759254, 0.6628884046638914, 0.6786031876127859, 0.8380657910901609, 0.7696962141802574, 0.027277281671151603, -0.8128754592694412, -0.8353236942051653, -0.558836706959898, -0.8649811113436121, -0.8856478323656832, 0.20389097341321458, 0.8915890174142818, -0.009353179603650662, -0.8649138828261284, -0.2245901872246641, 0.8069881214184643, 1.038231467104161, 0.6859513269034524, -0.013925921608002918, -0.768684581613136, -0.8523785186056687, -0.5725147040610867, -0.8328530738565147, -0.89695683691402, 0.1849867554485682, 0.9316457953579594, -0.04448885337405751, -0.9440092680894189, -0.03770038141115751, 0.9299150217773825, 0.17970401267190714, -0.8881365621694067, -0.8369624937432751, -0.5868508244688574, -0.8313092258450905, -0.7658074886689376, -0.03952153602497553, 0.7257002214449, 1.0102196812181568, 0.6948764376755145, 0.002866363543506209, -0.6715870072815281, -1.0519218586041434, -0.777896506936374, 0.19672922787199323, 0.8053026272676543, 0.1596242561181449, -0.8137238460807423, -0.9215764973541457, -0.6099189042595219, -0.6668473580346203, -0.7839911528474386, -0.6418964722093792, -0.6554268264967297, -0.8849046342212495, -0.7317384814481425, -0.03259813363664732, 0.7055538541773647, 1.0248825368497154, 0.7268408407840553, -0.056954175409504405, -0.7298952394033934, -0.8623881909077871, -0.6984645278411455, -0.6068937129219674, -0.6939114111904727, -0.8671951461489478, -0.7334642243259445, -0.04799627890206296, 0.7250084426992481, 1.0172542273316627, 0.718341641051283, -0.039342105826704346, -0.754313065831116, -0.8473572919418604, -0.636527393457419, -0.7287891872618689, -0.7778654465178765] - - - - variable - - comment - - - - _enabled - 1 - - - _coordinate - (734, 706) - - - _rotation - 0 - - - id - header_format - - - value - digital.packet_header_default(32) - - - - 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 - (1525, 75) - - - _rotation - 0 - - - id - pilot_offset - - - value - 256 - - - - variable - - comment - - - - _enabled - 1 - - - _coordinate - (1525, 11) - - - _rotation - 0 - - - id - pilot_sequence - - - value - [1.+1.j, 1.+1.j, -1.+1.j, 1.+1.j, -1.+1.j, 1.+1.j, 1.-1.j, -1.+1.j, 1.+1.j, 1.-1.j, 1.-1.j, 1.+1.j, -1.+1.j, 1.-1.j, 1.+1.j, -1.-1.j] - - - - 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 - - - - parameter - - alias - - - - comment - - - - _enabled - True - - - _coordinate - (319, 11) - - - _rotation - 0 - - - id - MTU - - - label - - - - short_id - - - - hide - none - - - type - intx - - - value - 1000 - - - - analog_agc_xx - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (1525, 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_divide_xx - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (1188, 1316) - - - _rotation - 0 - - - id - blocks_divide_xx_0 - - - type - float - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - num_inputs - 2 - - - 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_nlog10_ff - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (1324, 1320) - - - _rotation - 0 - - - id - blocks_nlog10_ff_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - vlen - 1 - - - k - 0 - - - n - 20 - - - - 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_rms_xx - - alpha - 0.0001 - - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (917, 1368) - - - _rotation - 0 - - - id - blocks_rms_xx_0 - - - type - complex - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - - blocks_rms_xx - - alpha - 0.0001 - - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (1037, 1288) - - - _rotation - 0 - - - id - blocks_rms_xx_0_0 - - - type - complex - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - - blocks_sub_xx - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (917, 1276) - - - _rotation - 0 - - - id - blocks_sub_xx_0 - - - type - complex - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - num_inputs - 2 - - - vlen - 1 - - - - 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 - (2258, 921) - - - _rotation - 0 - - - id - blocks_tagged_stream_to_pdu_1_0_0 - - - type - byte - - - tag - packet_len - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - - digital_chunks_to_symbols_xx - - alias - - - - comment - - - - affinity - - - - dimension - 1 - - - _enabled - 1 - - - _coordinate - (1262, 1122) - - - _rotation - 0 - - - id - digital_chunks_to_symbols_xx_0 - - - in_type - byte - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - num_ports - 1 - - - out_type - complex - - - symbol_table - payload_mod.points() - - - - digital_constellation_decoder_cb - - alias - - - - comment - - - - constellation - payload_mod - - - affinity - - - - _enabled - 1 - - - _coordinate - (998, 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 - (998, 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.999 - - - - digital_crc32_async_bb - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (2465, 921) - - - _rotation - 0 - - - id - digital_crc32_async_bb_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - check - True - - - - digital_header_payload_demux - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (479, 842) - - - _rotation - 0 - - - guard_interval - 0 - - - header_len - 32 - - - 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_async_scrambler - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (2649, 913) - - - _rotation - 0 - - - id - hamnet70_async_scrambler_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - polynom - 0x38 - - - start - 0xFF - - - - hamnet70_correct_frequency_from_pilot_syms - - alias - - - - comment - - - - affinity - - - - _enabled - 2 - - - _coordinate - (1254, 387) - - - _rotation - 0 - - - id - hamnet70_correct_frequency_from_pilot_syms_0 - - - offsets - [len(preamble)+pilot_offset] - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - phase_ref_offset - len(preamble)/2 - - - pilot_sequence - pilot_sequence - - - start_tag - corr_est - - - - 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 - (231, 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 - 0 - - - _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 - - - - hamnet70_symbol_interleaver - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (670, 1074) - - - _rotation - 0 - - - id - hamnet70_symbol_interleaver_0 - - - length_tag - packet_len - - - maxoutbuf - 0 - - - interleaver_width - 64 - - - minoutbuf - 0 - - - operation - deinterleave - - - - 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 - (1725, 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 - (2832, 921) - - - _rotation - 0 - - - id - pad_sink_2 - - - type - message - - - label - pdu_out - - - num_streams - 1 - - - optional - True - - - vlen - 1 - - - - pad_sink - - comment - - - - _enabled - True - - - _coordinate - (1476, 1328) - - - _rotation - 0 - - - id - pad_sink_3 - - - type - float - - - label - SNR - - - num_streams - 1 - - - optional - True - - - vlen - 1 - - - - pad_sink - - comment - - - - _enabled - True - - - _coordinate - (1284, 163) - - - _rotation - 0 - - - id - pad_sink_4 - - - type - float - - - label - freq_est - - - num_streams - 1 - - - optional - True - - - vlen - 1 - - - - pad_source - - comment - - - - _enabled - True - - - _coordinate - (79, 482) - - - _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 - (1725, 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_divide_xx_0 - blocks_nlog10_ff_0 - 0 - 0 - - - blocks_multiply_xx_0 - digital_corr_est_cc_0 - 0 - 0 - - - blocks_nlog10_ff_0 - pad_sink_3 - 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_rms_xx_0 - blocks_divide_xx_0 - 0 - 0 - - - blocks_rms_xx_0_0 - blocks_divide_xx_0 - 0 - 1 - - - blocks_sub_xx_0 - blocks_rms_xx_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_chunks_to_symbols_xx_0 - blocks_sub_xx_0 - 0 - 1 - - - digital_constellation_decoder_cb_0 - blocks_repack_bits_bb_0 - 0 - 0 - - - digital_constellation_decoder_cb_0 - digital_chunks_to_symbols_xx_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 - hamnet70_async_scrambler_0 - out - pdu_in - - - digital_header_payload_demux_0 - digital_constellation_decoder_cb_0_0 - 0 - 0 - - - digital_header_payload_demux_0 - hamnet70_symbol_interleaver_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_async_scrambler_0 - pad_sink_2 - pdu_out - in - - - hamnet70_correct_frequency_from_pilot_syms_0 - analog_agc_xx_0 - 0 - 0 - - - hamnet70_correct_phase_from_tag_0 - hamnet70_correct_frequency_from_pilot_syms_0 - 0 - 0 - - - hamnet70_freq_est_lr_0 - hamnet70_pid_controller_0 - 0 - 0 - - - hamnet70_freq_est_lr_0 - pad_sink_4 - 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 - - - hamnet70_symbol_interleaver_0 - blocks_rms_xx_0 - 0 - 0 - - - hamnet70_symbol_interleaver_0 - blocks_sub_xx_0 - 0 - 0 - - - hamnet70_symbol_interleaver_0 - digital_constellation_decoder_cb_0 - 0 - 0 - - - hamnet70_symbol_interleaver_0 - digital_constellation_soft_decoder_cf_0 - 0 - 0 - - - pad_source_0 - blocks_multiply_xx_0 - 0 - 1 - - - virtual_source_0 - hamnet70_insert_delayed_tag_0 - 0 - 0 - - +options: + parameters: + author: '' + category: '[Hamnet70]' + cmake_opt: '' + comment: '' + copyright: '' + description: '' + gen_cmake: 'On' + gen_linking: dynamic + generate_options: hb + hier_block_src_path: '.:' + id: hamnet70_demod_sc16qam + 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: '' + window_size: (3000,1500) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [7, 11] + rotation: 0 + state: enabled + +blocks: +- name: filtered_preamble + id: variable + parameters: + comment: '' + value: '[0.07597830170169104, -0.485565799912578, -0.8175675329652012, -0.08705845483279175, + 0.8422499558933448, 0.8339672761862603, 0.5639986226766744, 0.8648579357306525, + 0.8449626712400287, -0.14824742609024513, -0.839014751834186, -0.16052714055616374, + 0.8461746738478428, 0.876699004960063, 0.5438574109711131, 0.8487497724723243, + 0.901973957473885, -0.20608854557827685, -0.9237427266655129, 0.05657914223714758, + 0.9244658087744888, 0.04699371313815648, -0.9078922909067606, -0.2143141706138818, + 0.8906000008118203, 0.8703820417093556, 0.5269498118145474, 0.8744741132106794, + 0.8951714615192253, -0.22348375942671786, -0.8928255879900311, 0.03052455222662204, + 0.8525876862735934, 0.21700197016591458, -0.7648812444829712, -1.0877913873718514, + -0.7644834347657942, 0.21643221210655272, 0.8636472003816641, 0.01784265360684956, + -0.9039566593790512, -0.19720847977616437, 0.8683114899162668, 0.8868479082980585, + 0.6404092867407761, 0.6568225109789249, 0.6624694331403292, 0.8628193131616877, + 0.837852363582882, -0.12860147200310587, -0.874266046060146, -0.1397125213702271, + 0.8617313892859799, 0.8365471578775032, 0.5956040882182279, 0.8221390022883328, + 0.7681778127699552, 0.04511039330468456, -0.7314414499147517, -1.00914363652948, + -0.69255650622215, -0.00674900652370137, 0.6746184620556512, 1.0527665810823903, + 0.7726368241443928, -0.19092892072381876, -0.7950968236154203, -0.186027302053198, + 0.7812358777756694, 1.03818942039578, 0.6925283076118456, -0.020947352787426186, + -0.7789051309184633, -0.8343080373730677, -0.563711037581479, -0.8612923740231458, + -0.8665319687185258, 0.17029796271970854, 0.8159891988904876, 0.17319975656809514, + -0.7279801670404227, -1.09567867421579, -0.7585882059990467, 0.20918713334896463, + 0.7726741082646805, 0.1930510198005684, -0.728560692857744, -1.1137407463348976, + -0.7472126518860863, 0.21357460848768628, 0.7717344911429374, 0.18885744657646908, + -0.7323441910313696, -1.104674088894687, -0.7679625570657318, 0.23666454512442675, + 0.8508038023417438, 0.01276932958576111, -0.8845266294861591, -0.21444381674751473, + 0.8586095453652112, 0.9155050626835117, 0.6092856462718013, 0.6722760775856454, + 0.7701471297773871, 0.6539225174099268, 0.6302779977116016, 0.91090996468133, + 0.8362594732977642, -0.18455939606545796, -0.8887179714994841, -0.013005158485466996, + 0.9033103994723838, 0.19446514877164953, -0.866776436873287, -0.8865107735063715, + -0.6165664534570771, -0.6944400533786077, -0.7275728844384133, -0.6881540811334937, + -0.736412979084662, -0.683950646048729, -0.6496500909399723, -0.8500012951267402, + -0.7838311346696109, 0.0010927905014069478, 0.8016466380788749, 0.8190147792156793, + 0.6025614719729334, 0.8228346005611357, 0.802787876393007, -0.003842004779830683, + -0.7753807311708878, -0.8552149342918304, -0.6664053831716811, -0.6591347883332134, + -0.7480549713000103, -0.6911855810423027, -0.6215407667183455, -0.8834482281221873, + -0.8679653913970135, 0.19240729701925668, 0.934116366440915, -0.05507762635239145, + -0.9481072897019951, -0.020323963798468382, 0.8894253424178579, 0.2166381550010981, + -0.7741079434916102, -1.0767523060604507, -0.7685461986012558, 0.21082602140258022, + 0.8641896067442316, 0.022830556170658094, -0.8992821725529172, -0.20849132170440776, + 0.8748402251802601, 0.8910516213413703, 0.6034003341368249, 0.7045419675600119, + 0.7338568667875991, 0.6706647255835935, 0.7506755036294196, 0.6851592980678056, + 0.610761208212266, 0.9016642779352577, 0.8332298109781053, -0.16286252640823884, + -0.83725250477382, -0.1474894987345423, 0.8180937445788066, 0.9027584846247846, + 0.6310113259481372, 0.6610732581385319, 0.7464254443566228, 0.7004768060860638, + 0.6921662697864044, 0.7302911658029473, 0.7181215430759254, 0.6628884046638914, + 0.6786031876127859, 0.8380657910901609, 0.7696962141802574, 0.027277281671151603, + -0.8128754592694412, -0.8353236942051653, -0.558836706959898, -0.8649811113436121, + -0.8856478323656832, 0.20389097341321458, 0.8915890174142818, -0.009353179603650662, + -0.8649138828261284, -0.2245901872246641, 0.8069881214184643, 1.038231467104161, + 0.6859513269034524, -0.013925921608002918, -0.768684581613136, -0.8523785186056687, + -0.5725147040610867, -0.8328530738565147, -0.89695683691402, 0.1849867554485682, + 0.9316457953579594, -0.04448885337405751, -0.9440092680894189, -0.03770038141115751, + 0.9299150217773825, 0.17970401267190714, -0.8881365621694067, -0.8369624937432751, + -0.5868508244688574, -0.8313092258450905, -0.7658074886689376, -0.03952153602497553, + 0.7257002214449, 1.0102196812181568, 0.6948764376755145, 0.002866363543506209, + -0.6715870072815281, -1.0519218586041434, -0.777896506936374, 0.19672922787199323, + 0.8053026272676543, 0.1596242561181449, -0.8137238460807423, -0.9215764973541457, + -0.6099189042595219, -0.6668473580346203, -0.7839911528474386, -0.6418964722093792, + -0.6554268264967297, -0.8849046342212495, -0.7317384814481425, -0.03259813363664732, + 0.7055538541773647, 1.0248825368497154, 0.7268408407840553, -0.056954175409504405, + -0.7298952394033934, -0.8623881909077871, -0.6984645278411455, -0.6068937129219674, + -0.6939114111904727, -0.8671951461489478, -0.7334642243259445, -0.04799627890206296, + 0.7250084426992481, 1.0172542273316627, 0.718341641051283, -0.039342105826704346, + -0.754313065831116, -0.8473572919418604, -0.636527393457419, -0.7287891872618689, + -0.7778654465178765]' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1317, 75] + rotation: 0 + state: enabled +- name: header_format + id: variable + parameters: + comment: '' + value: digital.packet_header_default(32) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [734, 706] + rotation: 0 + state: enabled +- name: header_mod + id: variable_constellation_rect + parameters: + comment: '' + const_points: '[1, -1]' + imag_sect: '2' + precision: '8' + real_sect: '2' + rot_sym: '2' + soft_dec_lut: None + sym_map: '[0, 1]' + w_imag_sect: '1' + w_real_sect: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [495, 11] + rotation: 0 + state: enabled +- name: nfilts + id: variable + parameters: + comment: '' + value: '32' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [678, 147] + rotation: 0 + state: enabled +- name: payload_dec + id: variable_cc_decoder_def + parameters: + comment: '' + dim1: '1' + dim2: '1' + framebits: 8*(MTU+4)*2 + k: '7' + mode: fec.CC_TERMINATED + ndim: '0' + padding: 'True' + polys: '[79,109]' + rate: '2' + state_end: '-1' + state_start: '0' + value: '"ok"' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [846, 11] + rotation: 0 + state: enabled +- name: payload_mod + id: variable_constellation + parameters: + comment: '' + const_points: '[-1-1j, -1+1j, 1+1j, 1-1j]' + dims: '1' + precision: '8' + rot_sym: '4' + soft_dec_lut: None + sym_map: '[0, 1, 3, 2]' + type: 16qam + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [678, 11] + rotation: 0 + state: enabled +- name: pilot_offset + id: variable + parameters: + comment: '' + value: '256' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1525, 75] + rotation: 0 + state: enabled +- name: pilot_sequence + id: variable + parameters: + comment: '' + value: '[1.+1.j, 1.+1.j, -1.+1.j, 1.+1.j, -1.+1.j, 1.+1.j, 1.-1.j, -1.+1.j, 1.+1.j, + 1.-1.j, 1.-1.j, 1.+1.j, -1.+1.j, 1.-1.j, 1.+1.j, -1.-1.j]' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1525, 11] + rotation: 0 + state: enabled +- name: preamble + id: variable + parameters: + comment: '' + 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]' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1317, 11] + rotation: 0 + state: enabled +- name: rrc_taps_corr + id: variable_rrc_filter_taps + parameters: + alpha: '0.35' + comment: '' + gain: nfilts + ntaps: int(11*nfilts) + samp_rate: nfilts + sym_rate: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1190, 11] + rotation: 0 + state: enabled +- name: rrc_taps_ppcs + id: variable_rrc_filter_taps + parameters: + alpha: '0.35' + comment: '' + gain: nfilts + ntaps: int(11*sps*nfilts) + samp_rate: samp_rate + sym_rate: sym_rate/nfilts + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1030, 11] + rotation: 0 + state: enabled +- name: sps + id: variable + parameters: + comment: '' + value: samp_rate/sym_rate + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [678, 75] + rotation: 0 + state: enabled +- name: sym_rate + id: variable + parameters: + comment: '' + value: 150e3 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [191, 91] + rotation: 0 + state: enabled +- name: MTU + id: parameter + parameters: + alias: '' + comment: '' + hide: none + label: '' + short_id: '' + type: intx + value: '1000' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [319, 11] + rotation: 0 + state: enabled +- name: analog_agc_xx_0 + id: analog_agc_xx + parameters: + affinity: '' + alias: '' + comment: '' + gain: '1.0' + max_gain: '65536' + maxoutbuf: '0' + minoutbuf: '0' + rate: 1e-4 + reference: '1.0' + type: complex + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1525, 387] + rotation: 0 + state: enabled +- name: analog_sig_source_x_0 + id: analog_sig_source_x + parameters: + affinity: '' + alias: '' + amp: '1' + comment: '' + freq: '0' + maxoutbuf: '0' + minoutbuf: '0' + offset: '0' + phase: '0' + samp_rate: samp_rate + type: complex + waveform: analog.GR_COS_WAVE + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [63, 371] + rotation: 0 + state: enabled +- name: blocks_add_const_vxx_0 + id: blocks_add_const_vxx + parameters: + affinity: '' + alias: '' + comment: '' + const: '-1' + maxoutbuf: '0' + minoutbuf: '0' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1629, 922] + rotation: 0 + state: enabled +- name: blocks_char_to_float_0 + id: blocks_char_to_float + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + scale: '0.5' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1469, 922] + rotation: 0 + state: enabled +- name: blocks_divide_xx_0 + id: blocks_divide_xx + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + num_inputs: '2' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1188, 1316] + rotation: 0 + state: enabled +- name: blocks_multiply_xx_0 + id: blocks_multiply_xx + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + num_inputs: '2' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [287, 407] + rotation: 0 + state: enabled +- name: blocks_nlog10_ff_0 + id: blocks_nlog10_ff + parameters: + affinity: '' + alias: '' + comment: '' + k: '0' + maxoutbuf: '0' + minoutbuf: '0' + n: '20' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1324, 1320] + rotation: 0 + state: enabled +- name: blocks_repack_bits_bb_0 + id: blocks_repack_bits_bb + parameters: + affinity: '' + alias: '' + align_output: 'False' + comment: '' + endianness: gr.GR_LSB_FIRST + k: payload_mod.bits_per_symbol() + l: '1' + len_tag_key: packet_len + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1269, 914] + rotation: 0 + state: enabled +- name: blocks_repack_bits_bb_0_0 + id: blocks_repack_bits_bb + parameters: + affinity: '' + alias: '' + align_output: 'False' + comment: '' + endianness: gr.GR_LSB_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: [2060, 914] + rotation: 0 + state: enabled +- name: blocks_rms_xx_0 + id: blocks_rms_xx + parameters: + affinity: '' + alias: '' + alpha: '0.0001' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + type: complex + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [917, 1368] + rotation: 0 + state: enabled +- name: blocks_rms_xx_0_0 + id: blocks_rms_xx + parameters: + affinity: '' + alias: '' + alpha: '0.0001' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + type: complex + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1037, 1288] + rotation: 0 + state: enabled +- name: blocks_sub_xx_0 + id: blocks_sub_xx + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + num_inputs: '2' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [917, 1276] + rotation: 0 + state: enabled +- name: blocks_tagged_stream_multiply_length_0 + id: blocks_tagged_stream_multiply_length + parameters: + affinity: '' + alias: '' + c: payload_mod.bits_per_symbol() + comment: '' + lengthtagname: packet_len + maxoutbuf: '0' + minoutbuf: '0' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1262, 1006] + rotation: 0 + state: disabled +- name: blocks_tagged_stream_to_pdu_1_0_0 + id: blocks_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: [2258, 921] + rotation: 0 + state: enabled +- name: digital_chunks_to_symbols_xx_0 + id: digital_chunks_to_symbols_xx + parameters: + affinity: '' + alias: '' + comment: '' + dimension: '1' + in_type: byte + maxoutbuf: '0' + minoutbuf: '0' + num_ports: '1' + out_type: complex + symbol_table: payload_mod.points() + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1262, 1122] + rotation: 0 + state: enabled +- name: digital_constellation_decoder_cb_0 + id: digital_constellation_decoder_cb + parameters: + affinity: '' + alias: '' + comment: '' + constellation: payload_mod + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [998, 922] + rotation: 0 + state: enabled +- name: digital_constellation_decoder_cb_0_0 + id: digital_constellation_decoder_cb + parameters: + affinity: '' + alias: '' + comment: '' + constellation: header_mod + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [918, 850] + rotation: 0 + state: enabled +- name: digital_constellation_soft_decoder_cf_0 + id: digital_constellation_soft_decoder_cf + parameters: + affinity: '' + alias: '' + comment: '' + constellation: payload_mod + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [998, 1002] + rotation: 0 + state: disabled +- name: digital_corr_est_cc_0 + id: digital_corr_est_cc + parameters: + affinity: '' + alias: '' + comment: '' + mark_delay: '14' + maxoutbuf: '0' + minoutbuf: '0' + sps: sps + symbols: filtered_preamble + threshold: '0.999' + threshold_method: digital.THRESHOLD_ABSOLUTE + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [415, 395] + rotation: 0 + state: enabled +- name: digital_crc32_async_bb_0 + id: digital_crc32_async_bb + parameters: + affinity: '' + alias: '' + check: 'True' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [2465, 921] + rotation: 0 + state: enabled +- name: digital_header_payload_demux_0 + id: digital_header_payload_demux + parameters: + affinity: '' + alias: '' + comment: '' + guard_interval: '0' + header_len: '32' + header_padding: '0' + 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"' + type: complex + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [479, 842] + rotation: 0 + state: enabled +- name: digital_packet_headerparser_b_0 + id: digital_packet_headerparser_b + parameters: + affinity: '' + alias: '' + comment: '' + header_formatter: header_format + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [726, 770] + rotation: 180 + state: enabled +- name: digital_pfb_clock_sync_xxx_0 + id: digital_pfb_clock_sync_xxx + parameters: + affinity: '' + alias: '' + comment: '' + filter_size: nfilts + init_phase: '16' + loop_bw: 1e-3 + max_dev: '1.5' + maxoutbuf: '0' + minoutbuf: '0' + osps: '1' + sps: sps + taps: rrc_taps_ppcs + type: ccf + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [790, 355] + rotation: 0 + state: enabled +- name: fec_extended_tagged_decoder_0 + id: fec_extended_tagged_decoder + parameters: + affinity: '' + alias: '' + ann: None + comment: '' + decoder_list: payload_dec + lentagname: packet_len + maxoutbuf: '0' + minoutbuf: '0' + mtu: 8*(MTU+4)*2 + puncpat: '''11''' + value: fec_extended_decoder + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1821, 890] + rotation: 0 + state: enabled +- name: hamnet70_async_scrambler_0 + id: hamnet70_async_scrambler + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + polynom: '0x38' + start: '0xFF' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [2649, 913] + rotation: 0 + state: enabled +- name: hamnet70_correct_frequency_from_pilot_syms_0 + id: hamnet70_correct_frequency_from_pilot_syms + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + offsets: '[len(preamble)+pilot_offset]' + phase_ref_offset: len(preamble)//2 + pilot_sequence: pilot_sequence + start_tag: corr_est + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1254, 387] + rotation: 0 + state: bypassed +- name: hamnet70_correct_phase_from_tag_0 + id: hamnet70_correct_phase_from_tag + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + phase_tag_name: phase_est + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1054, 411] + rotation: 0 + state: enabled +- name: hamnet70_freq_est_lr_0 + id: hamnet70_freq_est_lr + parameters: + affinity: '' + alias: '' + comment: '' + kappa: '3' + maxoutbuf: '0' + minoutbuf: '0' + symbols: preamble + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1054, 295] + rotation: 0 + state: enabled +- name: hamnet70_insert_delayed_tag_0 + id: hamnet70_insert_delayed_tag + parameters: + affinity: '' + alias: '' + comment: '' + delay: len(preamble)+1 + insert_tag: data_start + maxoutbuf: '0' + minoutbuf: '0' + trigger_tag: corr_est + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [231, 858] + rotation: 0 + state: enabled +- name: hamnet70_pid_controller_0 + id: hamnet70_pid_controller + parameters: + affinity: '' + alias: '' + comment: '' + d: '0.0' + i: '0.03' + interval: '1500' + maxoutbuf: '0' + minoutbuf: '0' + p: '0.001' + post_gain: -sym_rate + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1269, 259] + rotation: 0 + state: disabled +- name: hamnet70_symbol_interleaver_0 + id: hamnet70_symbol_interleaver + parameters: + affinity: '' + alias: '' + comment: '' + interleaver_width: '64' + length_tag: packet_len + maxoutbuf: '0' + minoutbuf: '0' + operation: deinterleave + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [670, 1074] + rotation: 0 + state: enabled +- name: import_0 + id: import + parameters: + alias: '' + comment: '' + imports: from gnuradio.digital.utils import tagged_streams + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [7, 115] + rotation: 0 + state: enabled +- name: pad_sink_0 + id: pad_sink + parameters: + affinity: '' + alias: '' + comment: '' + label: corr_out + num_streams: '1' + optional: 'True' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [638, 443] + rotation: 0 + state: enabled +- name: pad_sink_1 + id: pad_sink + parameters: + affinity: '' + alias: '' + comment: '' + label: synced_symbols + num_streams: '1' + optional: 'True' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1725, 467] + rotation: 0 + state: enabled +- name: pad_sink_2 + id: pad_sink + parameters: + affinity: '' + alias: '' + comment: '' + label: pdu_out + num_streams: '1' + optional: 'True' + type: message + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [2832, 921] + rotation: 0 + state: enabled +- name: pad_sink_3 + id: pad_sink + parameters: + affinity: '' + alias: '' + comment: '' + label: SNR + num_streams: '1' + optional: 'True' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1476, 1328] + rotation: 0 + state: enabled +- name: pad_sink_4 + id: pad_sink + parameters: + affinity: '' + alias: '' + comment: '' + label: freq_est + num_streams: '1' + optional: 'True' + type: float + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1284, 163] + rotation: 0 + state: enabled +- name: pad_source_0 + id: pad_source + parameters: + affinity: '' + alias: '' + comment: '' + label: rx_in + maxoutbuf: '0' + minoutbuf: '0' + num_streams: '1' + optional: 'False' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [79, 482] + rotation: 0 + state: enabled +- name: samp_rate + id: parameter + parameters: + alias: '' + comment: '' + hide: none + label: Sampling Rate + short_id: '' + type: '' + value: 300e3 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [191, 11] + rotation: 0 + state: enabled +- name: virtual_sink_0 + id: virtual_sink + parameters: + alias: '' + comment: '' + stream_id: synced_symbols + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1725, 411] + rotation: 0 + state: enabled +- name: virtual_source_0 + id: virtual_source + parameters: + alias: '' + comment: '' + stream_id: synced_symbols + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [31, 874] + rotation: 0 + state: enabled + +connections: +- [analog_agc_xx_0, '0', pad_sink_1, '0'] +- [analog_agc_xx_0, '0', virtual_sink_0, '0'] +- [analog_sig_source_x_0, '0', blocks_multiply_xx_0, '0'] +- [blocks_add_const_vxx_0, '0', fec_extended_tagged_decoder_0, '0'] +- [blocks_char_to_float_0, '0', blocks_add_const_vxx_0, '0'] +- [blocks_divide_xx_0, '0', blocks_nlog10_ff_0, '0'] +- [blocks_multiply_xx_0, '0', digital_corr_est_cc_0, '0'] +- [blocks_nlog10_ff_0, '0', pad_sink_3, '0'] +- [blocks_repack_bits_bb_0, '0', blocks_char_to_float_0, '0'] +- [blocks_repack_bits_bb_0_0, '0', blocks_tagged_stream_to_pdu_1_0_0, '0'] +- [blocks_rms_xx_0, '0', blocks_divide_xx_0, '0'] +- [blocks_rms_xx_0_0, '0', blocks_divide_xx_0, '1'] +- [blocks_sub_xx_0, '0', blocks_rms_xx_0_0, '0'] +- [blocks_tagged_stream_multiply_length_0, '0', fec_extended_tagged_decoder_0, '0'] +- [blocks_tagged_stream_to_pdu_1_0_0, pdus, digital_crc32_async_bb_0, in] +- [digital_chunks_to_symbols_xx_0, '0', blocks_sub_xx_0, '1'] +- [digital_constellation_decoder_cb_0, '0', blocks_repack_bits_bb_0, '0'] +- [digital_constellation_decoder_cb_0, '0', digital_chunks_to_symbols_xx_0, '0'] +- [digital_constellation_decoder_cb_0_0, '0', digital_packet_headerparser_b_0, '0'] +- [digital_constellation_soft_decoder_cf_0, '0', blocks_tagged_stream_multiply_length_0, + '0'] +- [digital_corr_est_cc_0, '0', digital_pfb_clock_sync_xxx_0, '0'] +- [digital_corr_est_cc_0, '1', pad_sink_0, '0'] +- [digital_crc32_async_bb_0, out, hamnet70_async_scrambler_0, pdu_in] +- [digital_header_payload_demux_0, '0', digital_constellation_decoder_cb_0_0, '0'] +- [digital_header_payload_demux_0, '1', hamnet70_symbol_interleaver_0, '0'] +- [digital_packet_headerparser_b_0, header_data, digital_header_payload_demux_0, header_data] +- [digital_pfb_clock_sync_xxx_0, '0', hamnet70_correct_phase_from_tag_0, '0'] +- [digital_pfb_clock_sync_xxx_0, '0', hamnet70_freq_est_lr_0, '0'] +- [fec_extended_tagged_decoder_0, '0', blocks_repack_bits_bb_0_0, '0'] +- [hamnet70_async_scrambler_0, pdu_out, pad_sink_2, in] +- [hamnet70_correct_frequency_from_pilot_syms_0, '0', analog_agc_xx_0, '0'] +- [hamnet70_correct_phase_from_tag_0, '0', hamnet70_correct_frequency_from_pilot_syms_0, + '0'] +- [hamnet70_freq_est_lr_0, '0', hamnet70_pid_controller_0, '0'] +- [hamnet70_freq_est_lr_0, '0', pad_sink_4, '0'] +- [hamnet70_insert_delayed_tag_0, '0', digital_header_payload_demux_0, '0'] +- [hamnet70_pid_controller_0, control_value, analog_sig_source_x_0, freq] +- [hamnet70_symbol_interleaver_0, '0', blocks_rms_xx_0, '0'] +- [hamnet70_symbol_interleaver_0, '0', blocks_sub_xx_0, '0'] +- [hamnet70_symbol_interleaver_0, '0', digital_constellation_decoder_cb_0, '0'] +- [hamnet70_symbol_interleaver_0, '0', digital_constellation_soft_decoder_cf_0, '0'] +- [pad_source_0, '0', blocks_multiply_xx_0, '1'] +- [virtual_source_0, '0', hamnet70_insert_delayed_tag_0, '0'] + +metadata: + file_format: 1 diff --git a/grc/hamnet70_mod_sc16qam.grc b/grc/hamnet70_mod_sc16qam.grc index 62d3b27..2d4aca1 100644 --- a/grc/hamnet70_mod_sc16qam.grc +++ b/grc/hamnet70_mod_sc16qam.grc @@ -1,1662 +1,604 @@ - - - - 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_mod_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 - (191, 99) - - - _rotation - 0 - - - id - base_buffer_size - - - value - 32*MTU - - - - variable_cc_encoder_def - - padding - True - - - comment - - - - k - 7 - - - dim1 - 1 - - - dim2 - 1 - - - _enabled - True - - - framebits - 8*(MTU+4)*2 - - - _coordinate - (862, 11) - - - _rotation - 0 - - - id - fec_enc - - - ndim - 0 - - - polys - [79,109] - - - rate - 2 - - - state_start - 0 - - - mode - fec.CC_TERMINATED - - - - variable - - comment - - - - _enabled - 1 - - - _coordinate - (998, 347) - - - _rotation - 0 - - - id - header_format_tx - - - value - digital.packet_header_default(32) - - - - 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_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 - (1333, 75) - - - _rotation - 0 - - - id - pilot_offset - - - value - 256 - - - - variable - - comment - - - - _enabled - 1 - - - _coordinate - (1333, 11) - - - _rotation - 0 - - - id - pilot_sequence - - - value - [1.+1.j, 1.+1.j, -1.+1.j, 1.+1.j, -1.+1.j, 1.+1.j, 1.-1.j, -1.+1.j, 1.+1.j, 1.-1.j, 1.-1.j, 1.+1.j, -1.+1.j, 1.-1.j, 1.+1.j, -1.-1.j] - - - - variable - - comment - - - - _enabled - 1 - - - _coordinate - (1198, 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 - (1054, 11) - - - _rotation - 0 - - - gain - 1.0 - - - id - rrc_taps - - - ntaps - 51 - - - samp_rate - samp_rate - - - sym_rate - 150e3 - - - - parameter - - alias - - - - comment - - - - _enabled - True - - - _coordinate - (311, 11) - - - _rotation - 0 - - - id - MTU - - - label - - - - short_id - - - - hide - none - - - type - intx - - - value - 1000 - - - - blocks_pdu_to_tagged_stream - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (295, 498) - - - _rotation - 0 - - - id - blocks_pdu_to_tagged_stream_0 - - - type - byte - - - tag - packet_len - - - maxoutbuf - 0 - - - minoutbuf - base_buffer_size - - - - blocks_repack_bits_bb - - k - 8 - - - l - payload_mod.bits_per_symbol() - - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - endianness - gr.GR_LSB_FIRST - - - _coordinate - (790, 491) - - - _rotation - 0 - - - id - blocks_repack_bits_bb_0 - - - len_tag_key - "packet_len" - - - maxoutbuf - 0 - - - minoutbuf - base_buffer_size - - - align_output - False - - - - blocks_repack_bits_bb - - k - 1 - - - l - header_mod.bits_per_symbol() - - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - endianness - gr.GR_LSB_FIRST - - - _coordinate - (1206, 411) - - - _rotation - 0 - - - id - blocks_repack_bits_bb_0_0 - - - len_tag_key - "packet_len" - - - maxoutbuf - 0 - - - minoutbuf - base_buffer_size - - - align_output - False - - - - blocks_tagged_stream_mux - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (1980, 391) - - - _rotation - 0 - - - id - blocks_tagged_stream_mux_0 - - - type - complex - - - lengthtagname - "packet_len" - - - maxoutbuf - 0 - - - minoutbuf - base_buffer_size - - - ninputs - 3 - - - tag_preserve_head_pos - 0 - - - vlen - 1 - - - - blocks_vector_source_x - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (1709, 251) - - - _rotation - 0 - - - id - blocks_vector_source_x_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - type - complex - - - repeat - True - - - tags - tagged_streams.make_lengthtags((len(preamble),), (0,), "packet_len") - - - vlen - 1 - - - vector - preamble - - - - digital_chunks_to_symbols_xx - - alias - - - - comment - - - - affinity - - - - dimension - 1 - - - _enabled - 1 - - - _coordinate - (1517, 491) - - - _rotation - 0 - - - id - digital_chunks_to_symbols_xx_0 - - - in_type - byte - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - num_ports - 1 - - - out_type - complex - - - symbol_table - payload_mod.points() - - - - digital_chunks_to_symbols_xx - - alias - - - - comment - - - - affinity - - - - dimension - 1 - - - _enabled - 1 - - - _coordinate - (1509, 411) - - - _rotation - 0 - - - id - digital_chunks_to_symbols_xx_0_0 - - - in_type - byte - - - maxoutbuf - 0 - - - minoutbuf - base_buffer_size - - - num_ports - 1 - - - out_type - complex - - - symbol_table - header_mod.points() - - - - digital_crc32_async_bb - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (351, 394) - - - _rotation - 0 - - - id - digital_crc32_async_bb_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - check - False - - - - digital_map_bb - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (1389, 499) - - - _rotation - 0 - - - id - digital_map_bb_0 - - - map - payload_mod.pre_diff_code() - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - - digital_map_bb - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (1389, 419) - - - _rotation - 0 - - - id - digital_map_bb_0_0 - - - map - header_mod.pre_diff_code() - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - - digital_packet_headergenerator_bb - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - header_formatter - header_format_tx.base() - - - _coordinate - (998, 411) - - - _rotation - 0 - - - id - digital_packet_headergenerator_bb_0 - - - len_tag_key - "packet_len" - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - - fec_async_encoder - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - encoder - fec_enc - - - _coordinate - (526, 386) - - - _rotation - 0 - - - id - fec_async_encoder_0 - - - mtu - MTU+5 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - packed - True - - - rev_pack - True - - - rev_unpack - True - - - - hamnet70_async_scrambler - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (167, 386) - - - _rotation - 0 - - - id - hamnet70_async_scrambler_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - polynom - 0x38 - - - start - 0xFF - - - - hamnet70_insert_pilot_symbols - - alias - - - - comment - - - - affinity - - - - _enabled - 2 - - - _coordinate - (2196, 403) - - - _rotation - 0 - - - id - hamnet70_insert_pilot_symbols_0 - - - offsets - [len(preamble)+pilot_offset] - - - length_tag - packet_len - - - maxoutbuf - 0 - - - minoutbuf - base_buffer_size - - - pilot_sequence - pilot_sequence - - - - hamnet70_symbol_interleaver - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (1733, 483) - - - _rotation - 0 - - - id - hamnet70_symbol_interleaver_0 - - - length_tag - packet_len - - - maxoutbuf - 0 - - - interleaver_width - 64 - - - minoutbuf - 0 - - - operation - interleave - - - - import - - alias - - - - comment - - - - _enabled - 1 - - - _coordinate - (7, 115) - - - _rotation - 0 - - - id - import_0 - - - import - from gnuradio.digital.utils import tagged_streams - - - - interp_fir_filter_xxx - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (399, 690) - - - _rotation - 0 - - - id - interp_fir_filter_xxx_0 - - - interp - 2 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - samp_delay - 0 - - - taps - rrc_taps - - - type - ccc - - - - pad_sink - - comment - - - - _enabled - True - - - _coordinate - (1014, 698) - - - _rotation - 0 - - - id - pad_sink_0 - - - type - complex - - - label - baseband_out - - - num_streams - 1 - - - optional - False - - - vlen - 1 - - - - pad_source - - comment - - - - _enabled - True - - - _coordinate - (23, 394) - - - _rotation - 0 - - - id - pad_source_0 - - - label - packet_in - - - num_streams - 1 - - - optional - False - - - type - message - - - 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 - 1 - - - _coordinate - (2404, 419) - - - _rotation - 0 - - - id - virtual_sink_0 - - - stream_id - symbols - - - - virtual_source - - comment - - - - _enabled - 1 - - - _coordinate - (16, 699) - - - _rotation - 0 - - - id - virtual_source_0 - - - stream_id - symbols - - - - blocks_pdu_to_tagged_stream_0 - blocks_repack_bits_bb_0 - 0 - 0 - - - blocks_repack_bits_bb_0 - digital_map_bb_0 - 0 - 0 - - - blocks_repack_bits_bb_0 - digital_packet_headergenerator_bb_0 - 0 - 0 - - - blocks_repack_bits_bb_0_0 - digital_map_bb_0_0 - 0 - 0 - - - blocks_tagged_stream_mux_0 - hamnet70_insert_pilot_symbols_0 - 0 - 0 - - - blocks_vector_source_x_0 - blocks_tagged_stream_mux_0 - 0 - 0 - - - digital_chunks_to_symbols_xx_0 - hamnet70_symbol_interleaver_0 - 0 - 0 - - - digital_chunks_to_symbols_xx_0_0 - blocks_tagged_stream_mux_0 - 0 - 1 - - - digital_crc32_async_bb_0 - fec_async_encoder_0 - out - in - - - digital_map_bb_0 - digital_chunks_to_symbols_xx_0 - 0 - 0 - - - digital_map_bb_0_0 - digital_chunks_to_symbols_xx_0_0 - 0 - 0 - - - digital_packet_headergenerator_bb_0 - blocks_repack_bits_bb_0_0 - 0 - 0 - - - fec_async_encoder_0 - blocks_pdu_to_tagged_stream_0 - out - pdus - - - hamnet70_async_scrambler_0 - digital_crc32_async_bb_0 - pdu_out - in - - - hamnet70_insert_pilot_symbols_0 - virtual_sink_0 - 0 - 0 - - - hamnet70_symbol_interleaver_0 - blocks_tagged_stream_mux_0 - 0 - 2 - - - interp_fir_filter_xxx_0 - pad_sink_0 - 0 - 0 - - - pad_source_0 - hamnet70_async_scrambler_0 - out - pdu_in - - - virtual_source_0 - interp_fir_filter_xxx_0 - 0 - 0 - - +options: + parameters: + author: '' + category: '[Hamnet70]' + cmake_opt: '' + comment: '' + copyright: '' + description: '' + gen_cmake: 'On' + gen_linking: dynamic + generate_options: hb + hier_block_src_path: '.:' + id: hamnet70_mod_sc16qam + 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: '' + window_size: (3000,1500) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [7, 11] + rotation: 0 + state: enabled + +blocks: +- name: base_buffer_size + id: variable + parameters: + comment: '' + value: 32*MTU + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [191, 99] + rotation: 0 + state: enabled +- name: fec_enc + id: variable_cc_encoder_def + parameters: + comment: '' + dim1: '1' + dim2: '1' + framebits: 8*(MTU+4)*2 + k: '7' + mode: fec.CC_TERMINATED + ndim: '0' + padding: 'True' + polys: '[79,109]' + rate: '2' + state_start: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [862, 11] + rotation: 0 + state: enabled +- name: header_format_tx + id: variable + parameters: + comment: '' + value: digital.packet_header_default(32) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [984, 332.0] + rotation: 0 + state: enabled +- name: header_mod + id: variable_constellation_rect + parameters: + comment: '' + const_points: '[1, -1]' + imag_sect: '2' + precision: '8' + real_sect: '2' + rot_sym: '2' + soft_dec_lut: None + sym_map: '[0, 1]' + w_imag_sect: '1' + w_real_sect: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [495, 11] + rotation: 0 + state: enabled +- name: payload_mod + id: variable_constellation + parameters: + comment: '' + const_points: '[-1-1j, -1+1j, 1+1j, 1-1j]' + dims: '1' + precision: '8' + rot_sym: '4' + soft_dec_lut: None + sym_map: '[0, 1, 3, 2]' + type: 16qam + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [678, 11] + rotation: 0 + state: enabled +- name: pilot_offset + id: variable + parameters: + comment: '' + value: '256' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1333, 75] + rotation: 0 + state: enabled +- name: pilot_sequence + id: variable + parameters: + comment: '' + value: '[1.+1.j, 1.+1.j, -1.+1.j, 1.+1.j, -1.+1.j, 1.+1.j, 1.-1.j, -1.+1.j, 1.+1.j, + 1.-1.j, 1.-1.j, 1.+1.j, -1.+1.j, 1.-1.j, 1.+1.j, -1.-1.j]' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1333, 11] + rotation: 0 + state: enabled +- name: preamble + id: variable + parameters: + comment: '' + 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]' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1198, 11] + rotation: 0 + state: enabled +- name: rrc_taps + id: variable_rrc_filter_taps + parameters: + alpha: '0.35' + comment: '' + gain: '1.0' + ntaps: '51' + samp_rate: samp_rate + sym_rate: 150e3 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1054, 11] + rotation: 0 + state: enabled +- name: MTU + id: parameter + parameters: + alias: '' + comment: '' + hide: none + label: '' + short_id: '' + type: intx + value: '1000' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [311, 11] + rotation: 0 + state: enabled +- name: blocks_pdu_to_tagged_stream_0 + id: blocks_pdu_to_tagged_stream + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: base_buffer_size + tag: packet_len + type: byte + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [528, 500.0] + rotation: 0 + state: enabled +- name: blocks_repack_bits_bb_0 + id: blocks_repack_bits_bb + parameters: + affinity: '' + alias: '' + align_output: 'False' + comment: '' + endianness: gr.GR_LSB_FIRST + k: '8' + l: payload_mod.bits_per_symbol() + len_tag_key: '"packet_len"' + maxoutbuf: '0' + minoutbuf: base_buffer_size + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [790, 491] + rotation: 0 + state: enabled +- name: blocks_repack_bits_bb_0_0 + id: blocks_repack_bits_bb + parameters: + affinity: '' + alias: '' + align_output: 'False' + comment: '' + endianness: gr.GR_LSB_FIRST + k: '1' + l: header_mod.bits_per_symbol() + len_tag_key: '"packet_len"' + maxoutbuf: '0' + minoutbuf: base_buffer_size + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1192, 396.0] + rotation: 0 + state: enabled +- name: blocks_tagged_stream_mux_0 + id: blocks_tagged_stream_mux + parameters: + affinity: '' + alias: '' + comment: '' + lengthtagname: '"packet_len"' + maxoutbuf: '0' + minoutbuf: base_buffer_size + ninputs: '3' + tag_preserve_head_pos: '0' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1980, 391] + rotation: 0 + state: enabled +- name: blocks_vector_source_x_0 + id: blocks_vector_source_x + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + repeat: 'True' + tags: tagged_streams.make_lengthtags((len(preamble),), (0,), "packet_len") + type: complex + vector: preamble + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1709, 251] + rotation: 0 + state: enabled +- name: digital_chunks_to_symbols_xx_0 + id: digital_chunks_to_symbols_xx + parameters: + affinity: '' + alias: '' + comment: '' + dimension: '1' + in_type: byte + maxoutbuf: '0' + minoutbuf: '0' + num_ports: '1' + out_type: complex + symbol_table: payload_mod.points() + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1496, 504.0] + rotation: 0 + state: enabled +- name: digital_chunks_to_symbols_xx_0_0 + id: digital_chunks_to_symbols_xx + parameters: + affinity: '' + alias: '' + comment: '' + dimension: '1' + in_type: byte + maxoutbuf: '0' + minoutbuf: base_buffer_size + num_ports: '1' + out_type: complex + symbol_table: header_mod.points() + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1520, 408.0] + rotation: 0 + state: enabled +- name: digital_crc32_async_bb_0 + id: digital_crc32_async_bb + parameters: + affinity: '' + alias: '' + check: 'False' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [351, 394] + rotation: 0 + state: enabled +- name: digital_map_bb_0 + id: digital_map_bb + parameters: + affinity: '' + alias: '' + comment: '' + map: payload_mod.pre_diff_code() + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1384, 500.0] + rotation: 0 + state: enabled +- name: digital_map_bb_0_0 + id: digital_map_bb + parameters: + affinity: '' + alias: '' + comment: '' + map: header_mod.pre_diff_code() + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1376, 404.0] + rotation: 0 + state: enabled +- name: digital_packet_headergenerator_bb_0 + id: digital_packet_headergenerator_bb + parameters: + affinity: '' + alias: '' + comment: '' + header_formatter: header_format_tx.base() + len_tag_key: '"packet_len"' + maxoutbuf: '0' + minoutbuf: '0' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [984, 396.0] + rotation: 0 + state: enabled +- name: fec_async_encoder_0 + id: fec_async_encoder + parameters: + affinity: '' + alias: '' + comment: '' + encoder: fec_enc + maxoutbuf: '0' + minoutbuf: '0' + mtu: MTU+5 + packed: 'True' + rev_pack: 'True' + rev_unpack: 'True' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [526, 386] + rotation: 0 + state: enabled +- name: hamnet70_async_scrambler_0 + id: hamnet70_async_scrambler + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + polynom: '0x38' + start: '0xFF' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [167, 386] + rotation: 0 + state: enabled +- name: hamnet70_insert_pilot_symbols_0 + id: hamnet70_insert_pilot_symbols + parameters: + affinity: '' + alias: '' + comment: '' + length_tag: packet_len + maxoutbuf: '0' + minoutbuf: base_buffer_size + offsets: '[len(preamble)+pilot_offset]' + pilot_sequence: pilot_sequence + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [2196, 403] + rotation: 0 + state: bypassed +- name: hamnet70_symbol_interleaver_0 + id: hamnet70_symbol_interleaver + parameters: + affinity: '' + alias: '' + comment: '' + interleaver_width: '64' + length_tag: packet_len + maxoutbuf: '0' + minoutbuf: base_buffer_size + operation: interleave + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1728, 484.0] + rotation: 0 + state: enabled +- name: import_0 + id: import + parameters: + alias: '' + comment: '' + imports: from gnuradio.digital.utils import tagged_streams + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [7, 115] + rotation: 0 + state: enabled +- name: interp_fir_filter_xxx_0 + id: interp_fir_filter_xxx + parameters: + affinity: '' + alias: '' + comment: '' + interp: '2' + maxoutbuf: '0' + minoutbuf: '0' + samp_delay: '0' + taps: rrc_taps + type: ccc + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [399, 690] + rotation: 0 + state: enabled +- name: pad_sink_0 + id: pad_sink + parameters: + affinity: '' + alias: '' + comment: '' + label: baseband_out + num_streams: '1' + optional: 'False' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1014, 698] + rotation: 0 + state: enabled +- name: pad_source_0 + id: pad_source + parameters: + affinity: '' + alias: '' + comment: '' + label: packet_in + maxoutbuf: '0' + minoutbuf: '0' + num_streams: '1' + optional: 'False' + type: message + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [23, 394] + rotation: 0 + state: enabled +- name: samp_rate + id: parameter + parameters: + alias: '' + comment: '' + hide: none + label: Sampling Rate + short_id: '' + type: '' + value: 300e3 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [191, 11] + rotation: 0 + state: enabled +- name: virtual_sink_0 + id: virtual_sink + parameters: + alias: '' + comment: '' + stream_id: symbols + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [2404, 419] + rotation: 0 + state: enabled +- name: virtual_source_0 + id: virtual_source + parameters: + alias: '' + comment: '' + stream_id: symbols + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [16, 699] + rotation: 0 + state: enabled + +connections: +- [blocks_pdu_to_tagged_stream_0, '0', blocks_repack_bits_bb_0, '0'] +- [blocks_repack_bits_bb_0, '0', digital_map_bb_0, '0'] +- [blocks_repack_bits_bb_0, '0', digital_packet_headergenerator_bb_0, '0'] +- [blocks_repack_bits_bb_0_0, '0', digital_map_bb_0_0, '0'] +- [blocks_tagged_stream_mux_0, '0', hamnet70_insert_pilot_symbols_0, '0'] +- [blocks_vector_source_x_0, '0', blocks_tagged_stream_mux_0, '0'] +- [digital_chunks_to_symbols_xx_0, '0', hamnet70_symbol_interleaver_0, '0'] +- [digital_chunks_to_symbols_xx_0_0, '0', blocks_tagged_stream_mux_0, '1'] +- [digital_crc32_async_bb_0, out, fec_async_encoder_0, in] +- [digital_map_bb_0, '0', digital_chunks_to_symbols_xx_0, '0'] +- [digital_map_bb_0_0, '0', digital_chunks_to_symbols_xx_0_0, '0'] +- [digital_packet_headergenerator_bb_0, '0', blocks_repack_bits_bb_0_0, '0'] +- [fec_async_encoder_0, out, blocks_pdu_to_tagged_stream_0, pdus] +- [hamnet70_async_scrambler_0, pdu_out, digital_crc32_async_bb_0, in] +- [hamnet70_insert_pilot_symbols_0, '0', virtual_sink_0, '0'] +- [hamnet70_symbol_interleaver_0, '0', blocks_tagged_stream_mux_0, '2'] +- [interp_fir_filter_xxx_0, '0', pad_sink_0, '0'] +- [pad_source_0, out, hamnet70_async_scrambler_0, pdu_in] +- [virtual_source_0, '0', interp_fir_filter_xxx_0, '0'] + +metadata: + file_format: 1 diff --git a/tmp/test_sc16qam.grc b/tmp/test_sc16qam.grc index 4021336..cfa956e 100644 --- a/tmp/test_sc16qam.grc +++ b/tmp/test_sc16qam.grc @@ -1,2628 +1,779 @@ - - - - Sun May 12 22:10:34 2019 - - options - - author - - - - window_size - (1500,800) - - - category - [GRC Hier Blocks] - - - comment - - - - description - - - - _enabled - True - - - _coordinate - (8, 8) - - - _rotation - 0 - - - generate_options - qt_gui - - - hier_block_src_path - .: - - - id - top_block - - - 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_qtgui_range - - comment - - - - value - 0 - - - _enabled - 1 - - - _coordinate - (974, 51) - - - gui_hint - - - - _rotation - 0 - - - id - freq_offset_hz - - - label - Frequency Offset [Hz] - - - min_len - 200 - - - orient - Qt.Horizontal - - - start - -2e3 - - - step - 0.1 - - - stop - 2e3 - - - rangeType - float - - - widget - counter_slider - - - - variable_qtgui_range - - comment - - - - value - 0 - - - _enabled - 1 - - - _coordinate - (854, 51) - - - gui_hint - - - - _rotation - 0 - - - id - noise_voltage - - - label - Noise Voltage - - - min_len - 200 - - - orient - Qt.Horizontal - - - start - 0 - - - step - 0.001 - - - stop - 0.25 - - - rangeType - float - - - widget - counter_slider - - - - variable - - comment - - - - _enabled - True - - - _coordinate - (7, 83) - - - _rotation - 0 - - - id - samp_rate - - - value - 300e3 - - - - blocks_message_debug - - alias - - - - comment - - - - affinity - - - - _enabled - 1 - - - _coordinate - (901, 598) - - - _rotation - 0 - - - id - blocks_message_debug_0 - - - - blocks_tag_gate - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (558, 275) - - - _rotation - 0 - - - id - blocks_tag_gate_0 - - - type - complex - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - propagate_tags - False - - - single_key - "" - - - vlen - 1 - - - - blocks_tagged_stream_to_pdu - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (438, 171) - - - _rotation - 0 - - - id - blocks_tagged_stream_to_pdu_0 - - - type - byte - - - tag - packet_len - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - - blocks_throttle - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (327, 283) - - - _rotation - 0 - - - id - blocks_throttle_0 - - - ignoretag - True - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - samples_per_second - samp_rate - - - type - complex - - - vlen - 1 - - - - blocks_throttle - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (255, 171) - - - _rotation - 0 - - - id - blocks_throttle_0_0 - - - ignoretag - True - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - samples_per_second - samp_rate/8 - - - type - byte - - - vlen - 1 - - - - blocks_vector_source_x - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (15, 155) - - - _rotation - 0 - - - id - blocks_vector_source_x_0_0_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - type - byte - - - repeat - True - - - tags - tagged_streams.make_lengthtags((1000,), (0,), "packet_len") - - - vlen - 1 - - - vector - [x%256 for x in range(1000)] - - - - channels_channel_model - - alias - - - - block_tags - False - - - comment - - - - affinity - - - - _enabled - 1 - - - epsilon - 1.0 - - - freq_offset - freq_offset_hz/samp_rate - - - _coordinate - (335, 394) - - - _rotation - 0 - - - id - channels_channel_model_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - noise_voltage - noise_voltage - - - seed - 0 - - - taps - [(1.0 + 1.0j)*0.7] - - - - hamnet70_demod_sc16qam - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (223, 550) - - - _rotation - 0 - - - id - hamnet70_demod_sc16qam_0 - - - MTU - 1000 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - samp_rate - 300e3 - - - - hamnet70_mod_sc16qam - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (87, 275) - - - _rotation - 0 - - - id - hamnet70_mod_sc16qam_0 - - - MTU - 1000 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - samp_rate - samp_rate - - - - import - - alias - - - - comment - - - - _enabled - True - - - _coordinate - (167, 11) - - - _rotation - 0 - - - id - import_0 - - - import - from gnuradio.digital.utils import tagged_streams - - - - import - - alias - - - - comment - - - - _enabled - 0 - - - _coordinate - (167, 59) - - - _rotation - 0 - - - id - import_0_0 - - - import - import random - - - - import - - alias - - - - comment - - - - _enabled - 0 - - - _coordinate - (271, 59) - - - _rotation - 0 - - - id - import_0_0_0 - - - import - import numpy as np - - - - qtgui_const_sink_x - - autoscale - False - - - axislabels - True - - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (726, 403) - - - 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 - "Synced symbols" - - - nconnections - 1 - - - size - 2048 - - - tr_chan - 0 - - - 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.5 - - - xmax - 2 - - - xmin - -2 - - - ymax - 2 - - - ymin - -2 - - - - qtgui_number_sink - - autoscale - False - - - avg - 0 - - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (638, 698) - - - gui_hint - - - - _rotation - 0 - - - graph_type - qtgui.NUM_GRAPH_HORIZ - - - id - qtgui_number_sink_0 - - - type - float - - - color1 - ("black", "black") - - - factor1 - 1 - - - label1 - - - - unit1 - - - - color10 - ("black", "black") - - - factor10 - 1 - - - label10 - - - - unit10 - - - - color2 - ("black", "black") - - - factor2 - 1 - - - label2 - - - - unit2 - - - - color3 - ("black", "black") - - - factor3 - 1 - - - label3 - - - - unit3 - - - - color4 - ("black", "black") - - - factor4 - 1 - - - label4 - - - - unit4 - - - - color5 - ("black", "black") - - - factor5 - 1 - - - label5 - - - - unit5 - - - - color6 - ("black", "black") - - - factor6 - 1 - - - label6 - - - - unit6 - - - - color7 - ("black", "black") - - - factor7 - 1 - - - label7 - - - - unit7 - - - - color8 - ("black", "black") - - - factor8 - 1 - - - label8 - - - - unit8 - - - - color9 - ("black", "black") - - - factor9 - 1 - - - label9 - - - - unit9 - - - - max - 50 - - - min - 0 - - - name - "" - - - nconnections - 1 - - - update_time - 0.10 - - - - qtgui_number_sink - - autoscale - False - - - avg - 0 - - - alias - - - - comment - - - - affinity - - - - _enabled - True - - - _coordinate - (478, 714) - - - gui_hint - - - - _rotation - 0 - - - graph_type - qtgui.NUM_GRAPH_HORIZ - - - id - qtgui_number_sink_0_0 - - - type - float - - - color1 - ("black", "black") - - - factor1 - 1 - - - label1 - - - - unit1 - - - - color10 - ("black", "black") - - - factor10 - 1 - - - label10 - - - - unit10 - - - - color2 - ("black", "black") - - - factor2 - 1 - - - label2 - - - - unit2 - - - - color3 - ("black", "black") - - - factor3 - 1 - - - label3 - - - - unit3 - - - - color4 - ("black", "black") - - - factor4 - 1 - - - label4 - - - - unit4 - - - - color5 - ("black", "black") - - - factor5 - 1 - - - label5 - - - - unit5 - - - - color6 - ("black", "black") - - - factor6 - 1 - - - label6 - - - - unit6 - - - - color7 - ("black", "black") - - - factor7 - 1 - - - label7 - - - - unit7 - - - - color8 - ("black", "black") - - - factor8 - 1 - - - label8 - - - - unit8 - - - - color9 - ("black", "black") - - - factor9 - 1 - - - label9 - - - - unit9 - - - - max - 1 - - - min - -1 - - - name - "Δf" - - - nconnections - 1 - - - update_time - 0.10 - - - - qtgui_sink_x - - bw - samp_rate - - - alias - - - - fc - 0 - - - freqchangevar - None - - - comment - - - - affinity - - - - _enabled - True - - - fftsize - 1024 - - - _coordinate - (534, 394) - - - gui_hint - - - - _rotation - 0 - - - id - qtgui_sink_x_0 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - name - "RX Signal" - - - plotconst - True - - - plotfreq - True - - - plottime - True - - - plotwaterfall - True - - - showports - True - - - showrf - False - - - type - complex - - - rate - 10 - - - wintype - firdes.WIN_BLACKMAN_hARRIS - - - - qtgui_sink_x - - bw - samp_rate/2 - - - alias - - - - fc - 0 - - - freqchangevar - None - - - comment - - - - affinity - - - - _enabled - 0 - - - fftsize - 1024 - - - _coordinate - (694, 554) - - - gui_hint - - - - _rotation - 0 - - - id - qtgui_sink_x_1 - - - maxoutbuf - 0 - - - minoutbuf - 0 - - - name - "Synced Symbols" - - - 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 - 0 - - - _coordinate - (870, 487) - - - 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 - "Synced" - - - nconnections - 1 - - - size - 8192 - - - srate - samp_rate/2 - - - stemplot - False - - - tr_chan - 0 - - - tr_delay - 10/150e3 - - - tr_level - 0.0 - - - tr_mode - qtgui.TRIG_MODE_TAG - - - tr_slope - qtgui.TRIG_SLOPE_POS - - - tr_tag - "corr_start" - - - type - complex - - - update_time - 1 - - - ylabel - Amplitude - - - yunit - "" - - - ymax - 1 - - - ymin - -1 - - - - qtgui_time_sink_x - - autoscale - False - - - axislabels - True - - - alias - - - - comment - - - - ctrlpanel - False - - - affinity - - - - entags - True - - - _enabled - 1 - - - _coordinate - (526, 514) - - - gui_hint - - - - _rotation - 0 - - - grid - False - - - id - qtgui_time_sink_x_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 - "" - - - nconnections - 1 - - - size - 1024 - - - srate - samp_rate - - - stemplot - False - - - tr_chan - 0 - - - tr_delay - 10/150e3 - - - 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 - 100 - - - ymin - -100 - - - - blocks_tag_gate_0 - channels_channel_model_0 - 0 - 0 - - - blocks_tagged_stream_to_pdu_0 - hamnet70_mod_sc16qam_0 - pdus - packet_in - - - blocks_throttle_0 - blocks_tag_gate_0 - 0 - 0 - - - blocks_throttle_0_0 - blocks_tagged_stream_to_pdu_0 - 0 - 0 - - - blocks_vector_source_x_0_0_0 - blocks_throttle_0_0 - 0 - 0 - - - channels_channel_model_0 - hamnet70_demod_sc16qam_0 - 0 - 0 - - - channels_channel_model_0 - qtgui_sink_x_0 - 0 - 0 - - - hamnet70_demod_sc16qam_0 - qtgui_number_sink_0 - 2 - 0 - - - hamnet70_demod_sc16qam_0 - qtgui_time_sink_x_0_0 - 0 - 0 - - - hamnet70_demod_sc16qam_0 - qtgui_number_sink_0_0 - 3 - 0 - - - hamnet70_demod_sc16qam_0 - blocks_message_debug_0 - pdu_out - print_pdu - - - hamnet70_demod_sc16qam_0 - qtgui_const_sink_x_0 - 1 - 0 - - - hamnet70_demod_sc16qam_0 - qtgui_sink_x_1 - 1 - 0 - - - hamnet70_demod_sc16qam_0 - qtgui_time_sink_x_0 - 1 - 0 - - - hamnet70_mod_sc16qam_0 - blocks_throttle_0 - 0 - 0 - - +options: + parameters: + author: '' + category: '[GRC Hier Blocks]' + cmake_opt: '' + comment: '' + copyright: '' + description: '' + gen_cmake: 'On' + gen_linking: dynamic + generate_options: qt_gui + hier_block_src_path: '.:' + id: top_block + 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: '' + window_size: (1500,800) + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 8] + rotation: 0 + state: enabled + +blocks: +- name: freq_offset_hz + id: variable_qtgui_range + parameters: + comment: '' + gui_hint: '' + label: Frequency Offset [Hz] + min_len: '200' + orient: Qt.Horizontal + rangeType: float + start: -2e3 + step: '0.1' + stop: 2e3 + value: '0' + widget: counter_slider + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [974, 51] + rotation: 0 + state: enabled +- name: noise_voltage + id: variable_qtgui_range + parameters: + comment: '' + gui_hint: '' + label: Noise Voltage + min_len: '200' + orient: Qt.Horizontal + rangeType: float + start: '0' + step: '0.001' + stop: '0.25' + value: '0' + widget: counter_slider + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [854, 51] + rotation: 0 + state: enabled +- name: samp_rate + id: variable + parameters: + comment: '' + value: 300e3 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [7, 83] + rotation: 0 + state: enabled +- name: blocks_message_debug_0 + id: blocks_message_debug + parameters: + affinity: '' + alias: '' + comment: '' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1568, 368.0] + rotation: 0 + state: enabled +- name: blocks_tag_gate_0 + id: blocks_tag_gate + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + propagate_tags: 'False' + single_key: '""' + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [464, 276.0] + rotation: 0 + state: enabled +- name: blocks_tagged_stream_to_pdu_0 + id: blocks_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: [438, 171] + rotation: 0 + state: enabled +- name: blocks_throttle_0 + id: blocks_throttle + parameters: + affinity: '' + alias: '' + comment: '' + ignoretag: 'True' + maxoutbuf: '0' + minoutbuf: '0' + samples_per_second: samp_rate + type: complex + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [288, 284.0] + rotation: 0 + state: enabled +- name: blocks_throttle_0_0 + id: blocks_throttle + parameters: + affinity: '' + alias: '' + comment: '' + ignoretag: 'True' + maxoutbuf: '0' + minoutbuf: '0' + samples_per_second: samp_rate/8 + type: byte + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [255, 171] + rotation: 0 + state: enabled +- name: blocks_vector_source_x_0_0_0 + id: blocks_vector_source_x + parameters: + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + repeat: 'True' + tags: tagged_streams.make_lengthtags((1000,), (0,), "packet_len") + type: byte + vector: '[x%256 for x in range(1000)]' + vlen: '1' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [15, 155] + rotation: 0 + state: enabled +- name: channels_channel_model_0 + id: channels_channel_model + parameters: + affinity: '' + alias: '' + block_tags: 'False' + comment: '' + epsilon: '1.0' + freq_offset: freq_offset_hz/samp_rate + maxoutbuf: '0' + minoutbuf: '0' + noise_voltage: noise_voltage + seed: '0' + taps: '[(1.0 + 1.0j)*0.7]' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [632, 244.0] + rotation: 0 + state: enabled +- name: hamnet70_demod_sc16qam_0 + id: hamnet70_demod_sc16qam + parameters: + MTU: '1000' + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + samp_rate: 300e3 + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [880, 320.0] + rotation: 0 + state: enabled +- name: hamnet70_mod_sc16qam_0 + id: hamnet70_mod_sc16qam + parameters: + MTU: '1000' + affinity: '' + alias: '' + comment: '' + maxoutbuf: '0' + minoutbuf: '0' + samp_rate: samp_rate + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [80, 276.0] + rotation: 0 + state: enabled +- name: import_0 + id: import + parameters: + alias: '' + comment: '' + imports: from gnuradio.digital.utils import tagged_streams + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [167, 11] + rotation: 0 + state: enabled +- name: import_0_0 + id: import + parameters: + alias: '' + comment: '' + imports: import random + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [167, 59] + rotation: 0 + state: disabled +- name: import_0_0_0 + id: import + parameters: + alias: '' + comment: '' + imports: import numpy as np + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [271, 59] + rotation: 0 + state: disabled +- name: qtgui_const_sink_x_0 + id: qtgui_const_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: '"red"' + color2: '"red"' + color3: '"red"' + color4: '"red"' + color5: '"red"' + color6: '"red"' + color7: '"red"' + color8: '"red"' + color9: '"red"' + comment: '' + grid: 'False' + gui_hint: '' + label1: '' + label10: '' + label2: '' + label3: '' + label4: '' + label5: '' + label6: '' + label7: '' + label8: '' + label9: '' + legend: 'True' + marker1: '0' + marker10: '0' + marker2: '0' + marker3: '0' + marker4: '0' + marker5: '0' + marker6: '0' + marker7: '0' + marker8: '0' + marker9: '0' + name: '"Synced symbols"' + nconnections: '1' + size: '2048' + style1: '0' + style10: '0' + style2: '0' + style3: '0' + style4: '0' + style5: '0' + style6: '0' + style7: '0' + style8: '0' + style9: '0' + tr_chan: '0' + 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.5' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + xmax: '2' + xmin: '-2' + ymax: '2' + ymin: '-2' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1392, 172.0] + rotation: 0 + state: enabled +- name: qtgui_number_sink_0 + id: qtgui_number_sink + parameters: + affinity: '' + alias: '' + autoscale: 'False' + avg: '0' + color1: ("black", "black") + color10: ("black", "black") + color2: ("black", "black") + color3: ("black", "black") + color4: ("black", "black") + color5: ("black", "black") + color6: ("black", "black") + color7: ("black", "black") + color8: ("black", "black") + color9: ("black", "black") + comment: '' + factor1: '1' + factor10: '1' + factor2: '1' + factor3: '1' + factor4: '1' + factor5: '1' + factor6: '1' + factor7: '1' + factor8: '1' + factor9: '1' + graph_type: qtgui.NUM_GRAPH_HORIZ + gui_hint: '' + label1: '' + label10: '' + label2: '' + label3: '' + label4: '' + label5: '' + label6: '' + label7: '' + label8: '' + label9: '' + max: '50' + min: '0' + name: '""' + nconnections: '1' + type: float + unit1: '' + unit10: '' + unit2: '' + unit3: '' + unit4: '' + unit5: '' + unit6: '' + unit7: '' + unit8: '' + unit9: '' + update_time: '0.10' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1160, 540.0] + rotation: 0 + state: enabled +- name: qtgui_number_sink_0_0 + id: qtgui_number_sink + parameters: + affinity: '' + alias: '' + autoscale: 'False' + avg: '0' + color1: ("black", "black") + color10: ("black", "black") + color2: ("black", "black") + color3: ("black", "black") + color4: ("black", "black") + color5: ("black", "black") + color6: ("black", "black") + color7: ("black", "black") + color8: ("black", "black") + color9: ("black", "black") + comment: '' + factor1: '1' + factor10: '1' + factor2: '1' + factor3: '1' + factor4: '1' + factor5: '1' + factor6: '1' + factor7: '1' + factor8: '1' + factor9: '1' + graph_type: qtgui.NUM_GRAPH_HORIZ + gui_hint: '' + label1: '' + label10: '' + label2: '' + label3: '' + label4: '' + label5: '' + label6: '' + label7: '' + label8: '' + label9: '' + max: '1' + min: '-1' + name: "\"\u0394f\"" + nconnections: '1' + type: float + unit1: '' + unit10: '' + unit2: '' + unit3: '' + unit4: '' + unit5: '' + unit6: '' + unit7: '' + unit8: '' + unit9: '' + update_time: '0.10' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1160, 444.0] + rotation: 0 + state: enabled +- name: qtgui_sink_x_0 + id: qtgui_sink_x + parameters: + affinity: '' + alias: '' + bw: samp_rate + comment: '' + fc: '0' + fftsize: '1024' + gui_hint: '' + maxoutbuf: '0' + minoutbuf: '0' + name: '"RX Signal"' + plotconst: 'True' + plotfreq: 'True' + plottime: 'True' + plotwaterfall: 'True' + rate: '10' + showports: 'True' + showrf: 'False' + type: complex + wintype: firdes.WIN_BLACKMAN_hARRIS + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [936, 188.0] + rotation: 0 + state: enabled +- name: qtgui_sink_x_1 + id: qtgui_sink_x + parameters: + affinity: '' + alias: '' + bw: samp_rate/2 + comment: '' + fc: '0' + fftsize: '1024' + gui_hint: '' + maxoutbuf: '0' + minoutbuf: '0' + name: '"Synced Symbols"' + plotconst: 'True' + plotfreq: 'True' + plottime: 'True' + plotwaterfall: 'True' + rate: '10' + showports: 'True' + showrf: 'False' + type: complex + wintype: firdes.WIN_BLACKMAN_hARRIS + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1360, 316.0] + rotation: 0 + state: disabled +- name: qtgui_time_sink_x_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: '' + ctrlpanel: 'False' + entags: 'True' + grid: 'False' + gui_hint: '' + 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: '"Synced"' + nconnections: '1' + size: '8192' + srate: samp_rate/2 + 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: 10/150e3 + tr_level: '0.0' + tr_mode: qtgui.TRIG_MODE_TAG + tr_slope: qtgui.TRIG_SLOPE_POS + tr_tag: '"corr_start"' + type: complex + update_time: '1' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '1' + ymin: '-1' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1536, 260.0] + rotation: 0 + state: disabled +- 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: '' + ctrlpanel: 'False' + entags: 'True' + grid: 'False' + gui_hint: '' + 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: '""' + nconnections: '1' + size: '1024' + 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: 10/150e3 + 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' + width1: '1' + width10: '1' + width2: '1' + width3: '1' + width4: '1' + width5: '1' + width6: '1' + width7: '1' + width8: '1' + width9: '1' + ylabel: Amplitude + ymax: '100' + ymin: '-100' + yunit: '""' + states: + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1184, 284.0] + rotation: 0 + state: enabled + +connections: +- [blocks_tag_gate_0, '0', channels_channel_model_0, '0'] +- [blocks_tagged_stream_to_pdu_0, pdus, hamnet70_mod_sc16qam_0, packet_in] +- [blocks_throttle_0, '0', blocks_tag_gate_0, '0'] +- [blocks_throttle_0_0, '0', blocks_tagged_stream_to_pdu_0, '0'] +- [blocks_vector_source_x_0_0_0, '0', blocks_throttle_0_0, '0'] +- [channels_channel_model_0, '0', hamnet70_demod_sc16qam_0, '0'] +- [channels_channel_model_0, '0', qtgui_sink_x_0, '0'] +- [hamnet70_demod_sc16qam_0, '0', qtgui_const_sink_x_0, '0'] +- [hamnet70_demod_sc16qam_0, '1', qtgui_sink_x_1, '0'] +- [hamnet70_demod_sc16qam_0, '1', qtgui_time_sink_x_0, '0'] +- [hamnet70_demod_sc16qam_0, '1', qtgui_time_sink_x_0_0, '0'] +- [hamnet70_demod_sc16qam_0, '2', qtgui_number_sink_0_0, '0'] +- [hamnet70_demod_sc16qam_0, '3', qtgui_number_sink_0, '0'] +- [hamnet70_demod_sc16qam_0, pdu_out, blocks_message_debug_0, print_pdu] +- [hamnet70_mod_sc16qam_0, '0', blocks_throttle_0, '0'] + +metadata: + file_format: 1