Trying to do this and getting an error setting the control channel to get the NAC:
@pi2:~/op25/op25/gr-op25_repeater/apps$ ./rx.py --args 'rtl' -N 'LNA:47' -S 2400000 -f 859.4375c -o 25000 -q -2
Usage: rx.py [options]
rx.py: error: option -f: invalid engineering notation value: '859.4375c'
@pi2:~/op25/op25/gr-op25_repeater/apps$
@pi2:~/op25/op25/gr-op25_repeater/apps$ ./rx.py --args 'rtl' -N 'LNA:47' -S 2400000 -f 859.4375c -o 25000
Usage: rx.py [options]
rx.py: error: option -f: invalid engineering notation value: '859.4375c'
UPDATE: the RR db has "c" listed with the CC. I remove it and it works, same if I add e6. What is both these for?
New error after the above:
r@pi2:~/op25/op25/gr-op25_repeater/apps$ ./rx.py --args 'rtl' -N 'LNA:47' -S 2400000 -f 859.4375 -o 25000 -q -2
linux; GNU C++ version 6.2.0 20161010; Boost_106100; UHD_003.009.005-0-unknown
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.10
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya
Using device #0 Generic RTL2832U OEM
usb_open error -3
Please fix the device permissions, e.g. by installing the udev rules file rtl-sdr.rules
FATAL: Failed to open rtlsdr device.
Trying to fill up 1 missing channel(s) with null source(s).
This is being done to prevent the application from crashing
due to gnuradio bug #528.
setting gain LNA to 47
Traceback (most recent call last):
File "./rx.py", line 876, in <module>
rx = rx_main()
File "./rx.py", line 797, in __init__
self.tb = p25_rx_block(self.options)
File "./rx.py", line 191, in __init__
self.open_usrp()
File "./rx.py", line 724, in open_usrp
self.__set_rx_from_osmosdr()
File "./rx.py", line 669, in __set_rx_from_osmosdr
self.__build_graph(self.src, capture_rate)
File "./rx.py", line 272, in __build_graph
symbol_rate = self.symbol_rate)
File "/home/yoder/op25/op25/gr-op25_repeater/apps/p25_demodulator.py", line 249, in __init__
self.if1 = input_rate / self.decim
ZeroDivisionError: float division by zero
I assume either my SDR is locked up or otherwise not showing as connected. How do I check this?