|
|
|
|
@ -288,7 +288,7 @@ def start_repeater(tx_doppler_freq_hz):
|
|
|
|
|
global txLed
|
|
|
|
|
print("Starting repeater")
|
|
|
|
|
output(txLed, 1)
|
|
|
|
|
txr = "{:.3f}".format(tx_doppler_freq_hz/1e6)
|
|
|
|
|
txr = "{:.6f}".format(tx_doppler_freq_hz/1e6)
|
|
|
|
|
system("sudo nc -l 8011 | csdr convert_i16_f | csdr gain_ff 4000 | csdr convert_f_samplerf 20833 | sudo rpitx -i- -m RF -f " + txr + "e3 > /dev/null 2>&1 &")
|
|
|
|
|
sleep(0.5)
|
|
|
|
|
system("sudo arecord -D shared_mic -r48000 -fS16_LE -c1 | nc localhost 8011 &")
|
|
|
|
|
|