From 6b8819c43c5a7bf7f878c5612ab95f669a846f2d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 23 Mar 2015 20:23:08 +0100 Subject: [PATCH] ais_tx_laforge: Reduce UHD/USRP gain to 0dB ... which is sufficient if we are connected over coaxial wire to the AIS receiver. --- ais_tx_laforge.grc | 612 ++++++++++++++++++++++----------------------- 1 file changed, 306 insertions(+), 306 deletions(-) diff --git a/ais_tx_laforge.grc b/ais_tx_laforge.grc index 8ca8099..0552a52 100644 --- a/ais_tx_laforge.grc +++ b/ais_tx_laforge.grc @@ -1,7 +1,7 @@ - Mon Mar 23 20:09:48 2015 + Mon Mar 23 20:22:30 2015 options @@ -69,7 +69,7 @@ variable id - samp_rate + channel_select _enabled @@ -77,7 +77,7 @@ value - 326531 + 1 alias @@ -85,7 +85,7 @@ _coordinate - (173, 0) + (368, -1) _rotation @@ -123,7 +123,7 @@ variable id - channel_select + samp_rate _enabled @@ -131,7 +131,7 @@ value - 1 + 326531 alias @@ -139,7 +139,7 @@ _coordinate - (368, -1) + (173, 0) _rotation @@ -782,6 +782,304 @@ 0 + + AISTX_Build_Frame + + id + AISTX_Build_Frame_1 + + + _enabled + False + + + sentence + 010100000001101100011001110111011011110000000000000001011110000000000000 + + + repeat + True + + + enable_NRZI + True + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (1, 317) + + + _rotation + 0 + + + + analog_sig_source_x + + id + analog_sig_source_x_0_0 + + + _enabled + True + + + type + complex + + + samp_rate + samp_rate + + + waveform + analog.GR_SIN_WAVE + + + freq + 25000 + + + amp + 255 + + + offset + 0 + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (280, 400) + + + _rotation + 0 + + + + digital_gmsk_mod + + id + digital_gmsk_mod_0_0 + + + _enabled + True + + + samples_per_symbol + int(samp_rate/bit_rate) + + + bt + 0.4 + + + verbose + False + + + log + False + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (249, 321) + + + _rotation + 0 + + + + blocks_socket_pdu + + id + blocks_socket_pdu_0 + + + _enabled + True + + + type + "TCP_SERVER" + + + host + + + + port + 52001 + + + mtu + 10000 + + + tcp_no_delay + False + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (16, 631) + + + _rotation + 0 + + + + blocks_pdu_to_tagged_stream + + id + blocks_pdu_to_tagged_stream_0 + + + _enabled + True + + + type + byte + + + tag + packet_len + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (480, 652) + + + _rotation + 0 + + + + AisEncoder + + id + AisEncoder_0 + + + _enabled + True + + + enable_NRZI + True + + + num_lead_in_syms + 256 + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (200, 652) + + + _rotation + 0 + + uhd_usrp_sink @@ -938,7 +1236,7 @@ gain0 - 50 + 0 ant0 @@ -1465,304 +1763,6 @@ 0 - - AISTX_Build_Frame - - id - AISTX_Build_Frame_1 - - - _enabled - False - - - sentence - 010100000001101100011001110111011011110000000000000001011110000000000000 - - - repeat - True - - - enable_NRZI - True - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (1, 317) - - - _rotation - 0 - - - - analog_sig_source_x - - id - analog_sig_source_x_0_0 - - - _enabled - True - - - type - complex - - - samp_rate - samp_rate - - - waveform - analog.GR_SIN_WAVE - - - freq - 25000 - - - amp - 255 - - - offset - 0 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (280, 400) - - - _rotation - 0 - - - - digital_gmsk_mod - - id - digital_gmsk_mod_0_0 - - - _enabled - True - - - samples_per_symbol - int(samp_rate/bit_rate) - - - bt - 0.4 - - - verbose - False - - - log - False - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (249, 321) - - - _rotation - 0 - - - - blocks_socket_pdu - - id - blocks_socket_pdu_0 - - - _enabled - True - - - type - "TCP_SERVER" - - - host - - - - port - 52001 - - - mtu - 10000 - - - tcp_no_delay - False - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (16, 631) - - - _rotation - 0 - - - - blocks_pdu_to_tagged_stream - - id - blocks_pdu_to_tagged_stream_0 - - - _enabled - True - - - type - byte - - - tag - packet_len - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (480, 652) - - - _rotation - 0 - - - - AisEncoder - - id - AisEncoder_0 - - - _enabled - True - - - enable_NRZI - True - - - num_lead_in_syms - 256 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (200, 652) - - - _rotation - 0 - - digital_gmsk_mod_0 blocks_multiply_xx_0