OP25 OP25 questions

Status
Not open for further replies.

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,517
Location
Coconut Creek
In the OP25 Trunk.tsv file, I want to add multiple control channels. Do all the control channels need to be on the same line under the "Control Channel List" column, or can each control channel be entered on a separate line? Presumably, if the program doesn't find the control channel on the first one in the list it will move on to the next one, which is why I want to add multiple frequencies, in case the control channel changes.

Also, I might try experimenting with setting up OP25 on a Raspberry Pi 4. From a performance perspective, would it matter if I chose the 2gb or the 4gb model?
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,517
Location
Coconut Creek
Okay, thanks.
Another question: I'm trying to create a whitelist. What format does the whitelist file have to be in? I created a whitelist in text format, but when I put the name of the whitelist file in the trunk.tsv file, the program won't run. When I remove the reference to the whitelist file from trunk.tsv, the program launches and runs correctly. Apparently it doesn't like my whitelist for some reason.
 

sallen07

Member
Premium Subscriber
Joined
Dec 22, 2013
Messages
1,273
Location
Rochester, NY
I got that part. But should the whitelist file name have any particular file extension or name? The program won't start unless I remove the reference to the whitelist file.

There's really no such thing as "file extensions" on a Linux box, so no, you can name it whatever you want.

Is the file in your "apps" directory? If so, are you running op25 while you are in that directory?

Can you post your trunk.tsv? And you are using tabs between fields?
 

maus92

Member
Premium Subscriber
Joined
Jun 23, 2004
Messages
8,437
Location
The OP
I got that part. But should the whitelist file name have any particular file extension or name? The program won't start unless I remove the reference to the whitelist file.
just call it whitelist.tsv, and save it in the apps directory with the proper delimitation. The name could really be anything you want, as long as it's referenced and in the proper location within the trunk.tsv file.
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,517
Location
Coconut Creek
Here is my trunk.tsv file:
SysnameControl Channel ListOffsetNACModulationTGID Tags FileWhitelistBlacklistCenter Frequency
Springs
858.8125​
0​
0x547cqpsktompkins.tsvCS.tsv

If I try to launch OP25 with the above file, I get this:

ken@ken-Spin-SP314-51:~/op25/op25/gr-op25_repeater/apps$ ./rx.py --args "airspy" --nocrypt --gains "LNA:15,MIX:15,IF:15" -S 2500000 -q 0 -T trunk.tsv -V -2 -U 2> stderr.2
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

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 15
setting gain MIX to 15
setting gain IF to 15
supported sample rates 2500000-10000000 step 7500000
ken@ken-Spin-SP314-51:~/op25/op25/gr-op25_repeater/apps$

And the program goes no farther. To get the program to launch and run, I just have to remove "CS.tsv" from he trunk.tsv file, and it runs fine.
So the problem would seem to be either with the formatting of the trunk.tsv file, or the whitelist file.
 

sallen07

Member
Premium Subscriber
Joined
Dec 22, 2013
Messages
1,273
Location
Rochester, NY
Here is my trunk.tsv file:
SysnameControl Channel ListOffsetNACModulationTGID Tags FileWhitelistBlacklistCenter Frequency
Springs
858.8125​
0​
0x547cqpsktompkins.tsvCS.tsv

Does the tompkins.tsv file exist? If so, what are the contents?

What's in CS.tsv?

I would also create an empty blacklist file and add that to the trunk.tsv and see if that fixes the problem.
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,517
Location
Coconut Creek
Yes, the tompkins.tsv file exists. In column A is talkgroup numbers; in column B is description of the talkgroup (alias).

CS.tsv file contains (at present) one talkgroup.

Note that the tompkins.tsv file and the CS.tsv looks like a spreadsheet when you open them. Does it matter if the whitelist (CS.tsv) file is in a spreadsheet format or in a plain document format?

EDIT: No, adding a blacklist file doesn't fix the problem. If either a whitelist or blacklist file is referenced in trunk.tsv, the program won't run.
 
Last edited:

maus92

Member
Premium Subscriber
Joined
Jun 23, 2004
Messages
8,437
Location
The OP
Yes, the tompkins.tsv file exists. In column A is talkgroup numbers; in column B is description of the talkgroup (alias).

CS.tsv file contains (at present) one talkgroup.

Note that the tompkins.tsv file and the CS.tsv looks like a spreadsheet when you open them. Does it matter if the whitelist (CS.tsv) file is in a spreadsheet format or in a plain document format?

EDIT: No, adding a blacklist file doesn't fix the problem. If either a whitelist or blacklist file is referenced in trunk.tsv, the program won't run.
If the whitelist contains only one TG, you can just enter that tgid in the column without being contained in a tsv file.
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,517
Location
Coconut Creek
I solved the issue of the program not launching when there was a file name in the whitelist or blacklist column.

I made sure all letters in the filenames were all lower case. Apparently upper case, or a mixture of upper and lower case, is no good.

Now this still leaves my first question:
In the OP25 Trunk.tsv file, I want to add multiple control channels, in case the control channel changes. Do all the control channels need to be on the same line under the "Control Channel List" column, (separated by a comma, tab, or...) or can each control channel be entered on a separate line?
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,468
Location
Talbot Co, MD
I solved the issue of the program not launching when there was a file name in the whitelist or blacklist column.

I made sure all letters in the filenames were all lower case. Apparently upper case, or a mixture of upper and lower case, is no good.
Linux is case sensitive; if your file is spelled with lowercase then the entry in trunk.tsv needs to exactly match.
Now this still leaves my first question:
In the OP25 Trunk.tsv file, I want to add multiple control channels, in case the control channel changes. Do all the control channels need to be on the same line under the "Control Channel List" column, (separated by a comma, tab, or...) or can each control channel be entered on a separate line?

The answer depends on what you are trying to achieve :)

If you want too make a list of possible alternate control channels for the same system, you list them all on the same line separated by commas.
e.g. "773.84375,773.593750"

If you want to monitor multiple active control channels for different systems in round-robin fashion, you can make multiple lines in trunk.tsv. For this to work properly each system has to have a unique NAC and you have to correctly enter it in trunk.tsv rather than using the default of 0.
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,517
Location
Coconut Creek
The answer depends on what you are trying to achieve :)

If you want too make a list of possible alternate control channels for the same system, you list them all on the same line separated by commas.
e.g. "773.84375,773.593750"

This option. On some systems the control channel channel periodically changes, and I want it to find the current one. I set it up as you described, and it seems to be working.

Oh, and if I want to blacklist a range of talkgroups, how would I set that up in the blacklist file?

Thanks!
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,468
Location
Talbot Co, MD
Oh, and if I want to blacklist a range of talkgroups, how would I set that up in the blacklist file?

The white/blacklist files can consist of two formats, either a single numeric tgid per line, or a tab-separated start and end of a range.
Code:
11550
12025
7549
12000    12020
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,517
Location
Coconut Creek
Thanks.
Just to be clear, if a talkgroup is blacklisted, and it becomes active, should it appear on the screen at all, or appear and just be muted?
 

sallen07

Member
Premium Subscriber
Joined
Dec 22, 2013
Messages
1,273
Location
Rochester, NY
Thanks.
Just to be clear, if a talkgroup is blacklisted, and it becomes active, should it appear on the screen at all, or appear and just be muted?
If a voice grant comes in for a blacklisted TG, OP25 just ignores it, so you won't see it at all.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,468
Location
Talbot Co, MD
Also, if you specify a whitelist, only whitelisted tgids will be tracked, whereas if you only have a blacklist the app will tune anything not in the blacklist file.
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,517
Location
Coconut Creek
Also, if you specify a whitelist, only whitelisted tgids will be tracked, whereas if you only have a blacklist the app will tune anything not in the blacklist file.
Yes; I'm using the blacklist on one particular system to filter out all the encrypted talkgroups. Seems to be working well.
 
Status
Not open for further replies.
Top