Closed mike021361 closed 3 years ago
This section of the cfg.json is incorrectly formed.
{
"lcn": 10,
"frequency": 463537500,
"cc": 3
},
{
"sysname": "ERS-OCI",
"control_channel_list": "452.4625",
"tgid_tags_file": "ers-oci.tsv",
"tgid_hold_time": 2.0,
"blacklist": "",
"whitelist": "",
"bandplan": "400"
}
It should read as follows:
{
"lcn": 10,
"frequency": 463537500,
"cc": 3
}
DMR trunking does not presently support blacklist, whitelist or trunk-tags parameters.
The command line:
./multi_rx.py -v 1 -c ers-oci.rtl.cfg.json 2>stderr.ers-oci
The json file:rpm -q gnuradio gnuradio-3.8.1.0-lp152.1.14.x86_64
python3 -V Python 3.6.12
stderr.ers-oci: Using Python /usr/bin/python3 1615591214.521078 Configuring channel lcn(1), freq(452.462500), cc(3) 1615591214.521404 Configuring channel lcn(2), freq(451.787500), cc(3) 1615591214.521551 Configuring channel lcn(3), freq(451.912500), cc(3) 1615591214.521678 Configuring channel lcn(4), freq(451.987500), cc(3) 1615591214.521773 Configuring channel lcn(5), freq(463.537500), cc(3) 1615591214.521852 Configuring channel lcn(6), freq(452.337500), cc(3) 1615591214.521928 Configuring channel lcn(7), freq(461.462500), cc(3) 1615591214.522004 Configuring channel lcn(8), freq(461.787500), cc(3) 1615591214.522087 Configuring channel lcn(9), freq(462.112500), cc(3) 1615591214.522166 Configuring channel lcn(10), freq(463.537500), cc(3) Traceback (most recent call last): File "./multi_rx.py", line 928, in
rx = rx_main()
File "./multi_rx.py", line 893, in init
self.tb = rx_block(options.verbosity, config = byteify(config))
File "./multi_rx.py", line 478, in init
self.configure_trunking(config['trunking'])
File "./multi_rx.py", line 571, in configure_trunking
self.trunk_rx = self.trunking.rx_ctl(frequency_set = self.change_freq, nac_set = self.set_nac, slot_set = self.set_slot, nbfm_ctrl = self.nbfm_control, debug = self.verbosity, chans = config['chans'])
File "/home/mike/op25/op25/gr-op25_repeater/apps/tk_trbo.py", line 355, in init
self.chans[_chan['lcn']] = dmr_chan(debug, _chan['lcn'], _chan['frequency'])
KeyError: 'lcn'
System: https://www.radioreference.com/apps/db/?sid=7319