./rx.py --nocrypt --args "rtl" --gains 'lna:36' -S 960000 -X -q 0 -v 1 -2 -V -U -T trunk.tsv 2> stderr.2
the crash error messages could have been due to the fact that the option "-N" requires an argument (that accordingly may have swallowed the following "-T")
Max
Did you read post #2? It's right there in the example command line which I posted. Range is generally 0-47, but anything over ~39 just increases the noise floor significantly.So to set the gain on an RTL-SDR dongle, do we use -g or -N? And, what do we type after the letter and what's the available range? Thanks.
$ rtl_test
Found 2 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000002
1: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
./rx.py --args 'rtl' -S 1000000 --gains 'lna:29' -2 -n -f 769.28125e6 -U -l http:127.0.0.1:8080 2> stderr.2
Constallation plot looks good. What do you have in the log file? (stderr.2)
What does the datascope plot look like?
Using Python /usr/bin/python3
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.8.1.0
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
gain: name: LNA range: start 0 stop 0 step 0
setting gain lna to 29
supported sample rates 250000-2560000 step 24000
Exact sample rate is: 1000000.026491 Hz
[R82XX] PLL not locked!
Using two-stage decimator for speed=1000000, decim=10/4 if1=100000 if2=25000
op25_audio::open_socket(): enabled udp host(127.0.0.1), wireshark(23456), audio(23456)
p25_frame_assembler_impl: do_imbe[1], do_output[0], do_audio_output[1], do_phase2_tdma[1], do_nocrypt[1]
metadata update not enabled
using ALSA sound system
audio device: default
Listening on 127.0.0.1:23456
python version detected: 3.8.5 (default, Jan 27 2021, 15:41:15)
[GCC 9.3.0]
Allocating 15 zero-copy buffers
04/03/21 21:13:00.498799 UI Timeout
main: exception occurred
main: exception:
Traceback (most recent call last):
File "./rx.py", line 991, in run
time.sleep(1)
KeyboardInterrupt
The tuning needs to move a fair bit to center the datascope plot. It should look like this:
If a tgid is always encrypted, the best way is to blacklist it. If the tgid sometimes has encrypted traffic, you can set --crypt-behavior=2 and this will drop the tgid and temporarily add it to the skiplist as soon as encryption is detected.So, next question.
Is there a way to tell it to ignore encrypted TGs and don't even stop on 'em? I know you can silence encryption, but I wanna make it not even stop on encrypted TGs in the first place.
And, what do the "B/LIST" & "W/LIST" buttons do? I've never understood the difference between blacklisting and whitelisting.
See my post #15. There are 3 ways to handle encrypted traffic as controlled by the --crypt-behavior parameterI believe that's a no. one can only silence the audio. Sorry
Alec
N1AJW
OK, thanks. So blacklist basically means to permanently lock out a TG? Or is that only a temporary lockout? And what does whitelisting do.