viggendriver
Member
- Joined
- May 3, 2020
- Messages
- 18
Got tied up this weekend but I got things somewhat working but it seems to be choking on the NAC which is 0x3c2 for the system I've been using and it worked in the past. I tried leaving it empty with the same result
./rx.py --args 'airspy' --gains 'lna:30' -X -T trunk.tsv -q 40 -S 2500000 -U -P fft -l 'http:0.0.0.0:8080' -2 -v 10 2>stderr.2
Using Python /usr/bin/python3
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.1.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
Using AirSpy NOS v1.0.0-rc10-3-g7120e77 2018-04-28, samplerates: 2.5M 10M
gain: name: LNA range: start 0 stop 15 step 1
gain: name: MIX range: start 0 stop 15 step 1
gain: name: IF range: start 0 stop 15 step 1
setting gain lna to 30
supported sample rates 2500000-10000000 step 7500000
Airspy decim:1 kernel size:47
Using two-stage decimator for speed=2500000, decim=25/4 if1=100000 if2=25000
op25_audio:pen_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[0]
Traceback (most recent call last):
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 1101, in <module>
rx = rx_main()
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 1005, in __init__
self.tb = p25_rx_block(self.options)
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 241, in __init__
self.open_usrp()
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 909, in open_usrp
self.__set_rx_from_osmosdr()
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 838, in __set_rx_from_osmosdr
self.__build_graph(self.src, capture_rate)
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 377, in __build_graph
self.trunk_rx = trunking.rx_ctl(frequency_set = self.change_freq, nac_set = self.set_nac, debug = self.options.verbosity, conf_file = self.options.trunk_conf_file, logfile_workers=logfile_workers, meta_update = self.meta_update, crypt_behavior = self.options.crypt_behavior)
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/trunking.py", line 1278, in __init__
self.build_config_tsv(conf_file)
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/trunking.py", line 1374, in build_config_tsv
configs = read_tsv_file(tsv_filename, "nac")
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/helper_funcs.py", line 156, in read_tsv_file
key_val = int(fields[key], 0)
KeyError: 'nac'
./rx.py --args 'airspy' --gains 'lna:30' -X -T trunk.tsv -q 40 -S 2500000 -U -P fft -l 'http:0.0.0.0:8080' -2 -v 10 2>stderr.2
Using Python /usr/bin/python3
gr-osmosdr 0.2.0.0 (0.2.0) gnuradio 3.10.1.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
Using AirSpy NOS v1.0.0-rc10-3-g7120e77 2018-04-28, samplerates: 2.5M 10M
gain: name: LNA range: start 0 stop 15 step 1
gain: name: MIX range: start 0 stop 15 step 1
gain: name: IF range: start 0 stop 15 step 1
setting gain lna to 30
supported sample rates 2500000-10000000 step 7500000
Airspy decim:1 kernel size:47
Using two-stage decimator for speed=2500000, decim=25/4 if1=100000 if2=25000
op25_audio:pen_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[0]
Traceback (most recent call last):
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 1101, in <module>
rx = rx_main()
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 1005, in __init__
self.tb = p25_rx_block(self.options)
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 241, in __init__
self.open_usrp()
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 909, in open_usrp
self.__set_rx_from_osmosdr()
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 838, in __set_rx_from_osmosdr
self.__build_graph(self.src, capture_rate)
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/./rx.py", line 377, in __build_graph
self.trunk_rx = trunking.rx_ctl(frequency_set = self.change_freq, nac_set = self.set_nac, debug = self.options.verbosity, conf_file = self.options.trunk_conf_file, logfile_workers=logfile_workers, meta_update = self.meta_update, crypt_behavior = self.options.crypt_behavior)
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/trunking.py", line 1278, in __init__
self.build_config_tsv(conf_file)
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/trunking.py", line 1374, in build_config_tsv
configs = read_tsv_file(tsv_filename, "nac")
File "/home/sig/Downloads/op25/op25/gr-op25_repeater/apps/helper_funcs.py", line 156, in read_tsv_file
key_val = int(fields[key], 0)
KeyError: 'nac'