From 1fe1287c2cb0d67753d5248c35c65b5e29f53a5e Mon Sep 17 00:00:00 2001 From: Manolis Surligas Date: Sat, 11 Jun 2016 20:09:51 +0300 Subject: [PATCH] Add AFSK flowgraph for hardware radio transmission --- apps/flowgraphs/upsat_afsk_transmitter.grc | 692 +++++++++++++++++++++ 1 file changed, 692 insertions(+) create mode 100644 apps/flowgraphs/upsat_afsk_transmitter.grc diff --git a/apps/flowgraphs/upsat_afsk_transmitter.grc b/apps/flowgraphs/upsat_afsk_transmitter.grc new file mode 100644 index 0000000..9bea6ba --- /dev/null +++ b/apps/flowgraphs/upsat_afsk_transmitter.grc @@ -0,0 +1,692 @@ + + + + Fri Mar 18 13:57:31 2016 + + options + + author + + + + window_size + 1720, 1080 + + + category + Custom + + + comment + + + + description + + + + _enabled + True + + + _coordinate + (8, 8) + + + _rotation + 0 + + + generate_options + qt_gui + + + hier_block_src_path + .: + + + id + debug_afsk_transceiver_osmocom + + + max_nouts + 0 + + + qt_qss_theme + + + + realtime_scheduling + + + + run_command + {python} -u {filename} + + + run_options + prompt + + + run + True + + + thread_safe_setters + + + + title + + + + + variable_qtgui_range + + comment + + + + value + 0.9 + + + _enabled + True + + + _coordinate + (760, 9) + + + gui_hint + + + + _rotation + 0 + + + id + atten + + + label + Attenuation + + + min_len + 200 + + + orient + Qt.Horizontal + + + start + 0 + + + step + 0.01 + + + stop + 0.9 + + + rangeType + float + + + widget + counter_slider + + + + variable + + comment + FSK baud rate + + + _enabled + True + + + _coordinate + (496, 13) + + + _rotation + 0 + + + id + baud_rate + + + value + 1200 + + + + variable + + comment + The FSK frequency deviation + + + _enabled + True + + + _coordinate + (336, 13) + + + _rotation + 0 + + + id + deviation + + + value + 1.19e3 + + + + variable + + comment + + + + _enabled + True + + + _coordinate + (8, 293) + + + _rotation + 0 + + + id + modulation_index + + + value + deviation / (baud_rate / 2.0) + + + + variable + + comment + SDR device +TX sampling rate + + + _enabled + True + + + _coordinate + (224, 13) + + + _rotation + 0 + + + id + samp_rate_tx + + + value + 48e3 + + + + variable + + comment + Samples per FSK symbol. +Should be changed only for better +spectrum mask, or if the resampling +is too great and becomes a bottlneck. + + + _enabled + True + + + _coordinate + (8, 117) + + + _rotation + 0 + + + id + samples_per_symbol_tx + + + value + 40 + + + + variable + + comment + The TX center frequency + of the system + + + _enabled + True + + + _coordinate + (592, 13) + + + _rotation + 0 + + + id + tx_frequency + + + value + 145.835e6 + + + + audio_sink + + alias + + + + comment + + + + affinity + + + + device_name + + + + _enabled + 1 + + + _coordinate + (1144, 258) + + + _rotation + 0 + + + id + audio_sink_0_0 + + + num_inputs + 1 + + + ok_to_block + True + + + samp_rate + 48000 + + + + blocks_multiply_const_vxx + + alias + + + + comment + + + + const + -atten + + + affinity + + + + _enabled + True + + + _coordinate + (952, 260) + + + _rotation + 0 + + + id + blocks_multiply_const_vxx_0 + + + type + float + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + vlen + 1 + + + + rational_resampler_xxx + + alias + + + + comment + + + + affinity + + + + decim + 1 + + + _enabled + True + + + fbw + 0 + + + _coordinate + (744, 239) + + + _rotation + 0 + + + id + rational_resampler_xxx_0 + + + interp + samples_per_symbol_tx + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + taps + + + + type + fff + + + + satnogs_debug_msg_source + + alias + + + + comment + + + + affinity + + + + delay + 1 + + + _enabled + 1 + + + _coordinate + (136, 286) + + + _rotation + 0 + + + id + satnogs_debug_msg_source_0 + + + maxoutbuf + 0 + + + msg + "HELLO" + + + minoutbuf + 0 + + + repeat + True + + + + satnogs_udp_msg_source + + alias + + + + comment + The transmitter can also receive payloads +from a UDP source. Use netcat or something +similar to produce dynamic payloads. + + + affinity + + + + _enabled + 1 + + + _coordinate + (192, 382) + + + _rotation + 0 + + + id + satnogs_udp_msg_source_0 + + + addr + "127.0.0.1" + + + mtu + 1500 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + port + 16886 + + + + satnogs_upsat_fsk_frame_encoder + + append_crc + False + + + alias + + + + comment + + + + affinity + + + + dest_addr + UPSAT + + + dest_ssid + 0 + + + _enabled + 1 + + + preamble + [0x33]*8 + + + _coordinate + (440, 183) + + + _rotation + 0 + + + id + satnogs_upsat_fsk_frame_encoder_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + settling_samples + 1024 + + + msb_first + True + + + src_addr + ABCD + + + src_ssid + 0 + + + sync_word + [0x7A, 0x0E] + + + ax_25 + True + + + manchester + False + + + whitening + False + + + + blocks_multiply_const_vxx_0 + audio_sink_0_0 + 0 + 0 + + + rational_resampler_xxx_0 + blocks_multiply_const_vxx_0 + 0 + 0 + + + satnogs_debug_msg_source_0 + satnogs_upsat_fsk_frame_encoder_0 + msg + pdu + + + satnogs_udp_msg_source_0 + satnogs_upsat_fsk_frame_encoder_0 + msg + pdu + + + satnogs_upsat_fsk_frame_encoder_0 + rational_resampler_xxx_0 + 0 + 0 + +