Multi_RX.py
Hello, Trying to use multi_rx.py to receive 2 digital modes local ham repeaters; one on DStar at 144,950 MHz, and the other on C4FM Fusion at 147,120 MHz. Since they are 2,17 MHz apart, i figured they should be copied by a RTL-SDR dongle, which is capable of 2,4 MHz bandwidth. Don't know if this is possible, thought.
Using a json file:
{
"channels": [
{
"demod_type": "fsk4",
"destination": "udp://127.0.0.1:56122",
"excess_bw": 0.2,
"filter_type": "gmsk",
"frequency": 144950000,
"if_rate": 24000,
"name": "dstar",
"symbol_rate": 4800
},
{
"demod_type": "fsk4",
"destination": "udp://127.0.0.1:56124",
"excess_bw": 0.2,
"filter_type": "rrc",
"frequency": 147120000,
"if_rate": 24000,
"name": "ysf",
"symbol_rate": 4800
},
],
"devices": [
{
"args": "rtl:0",
"frequency": 146035000,
"gains": "lna:48",
"name": "rtl0",
"offset": 0,
"ppm": 60,
"rate": 1000000,
"tunable": false
}
]
}
_______________
I've set the rtl:0 value at 146,035 MHz, which is right in the middle of both repeaters.
When I try using the command line, i get this error message:
pi@raspberrypi:~/op25/op25/gr-op25_repeater/apps $ python multi_rx.py -c DIGITAL.json -v 9
linux; GNU C++ version 4.9.1; Boost_105500; UHD_003.007.003-0-unknown
Traceback (most recent call last):
File "multi_rx.py", line 216, in <module>
rx = rx_main()
File "multi_rx.py", line 203, in __init__
config = json.loads(open(options.config_file).read())
File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
pi@raspberrypi:~/op25/op25/gr-op25_repeater/apps $
_______________
Is what I'm trying to do possible ? Any ideas ?
Thanks