op25 help!

Status
Not open for further replies.

kc8zmp

Member
Joined
May 29, 2008
Messages
20
Location
alma michigan
need help setting up the talkgroup.tsv this is the error in stderr.2
Skipping invalid row in mp.tsv: ['32001', 'DPDCID50']
Skipping invalid row in mp.tsv: ['32003', 'DPDCID51']
Skipping invalid row in mp.tsv: ['65535', '10LAW1']
No valid trunking configs. Aborting!
trunk file
"Sysname" "Control Channel List" "Offset" "NAC" "Modulation" "TGID Tags File" "Whitelist" "Blacklist" "Center Frequency"
"P25 SYSTEM" "853.47500" "0" "0x790" "C4FM" "mp.tsv"

this is my command line ~/op25/op25/gr-op25_repeater/apps$ ./rx.py --args 'rtl' -N 'LNA:47' -S 2400000 -f 853.475e6 -o 25000 -q -0 -T mp.tsv -V -2 -U 2> stderr.2
 
Last edited:

NebraskaCoder

Member
Joined
Oct 26, 2016
Messages
325
Location
Omaha, NE
OP25 is very strict. I can't remember off the top of my head but BOTH the trunk file and TGIDs files need either spaces or tabs between columns (one one).
 

kc8zmp

Member
Joined
May 29, 2008
Messages
20
Location
alma michigan
OP25 is very strict. I can't remember off the top of my head but BOTH the trunk file and TGIDs files need either spaces or tabs between columns (one one).
It's tabs. Followed the op25 for dummies video and modified the TG file and saved it but getting "invalid row" in my TG file mp.tsv
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,567
Location
Talbot Co, MD
The format for the trunk-tags.tsv file is one <TAB> character between each field, spaces allowed within the fields themselves.
[tgid]<TAB>[tg description]<TAB>[priority]

Note that the 'priority' field is optional and defaults to 3 if not specified. Lower numbers represent a higher priority and will allow preemption of calls in progress on lower priority tgids.
 

wgbecks

Active Member
Joined
Jan 17, 2005
Messages
1,124
Location
NE Wisconsin
It's very helpful to use a text editor having the capability to display hidden characters. Another suggestion is to run your files
through dos2unix. To install: <sudo apt-get install dos2unix>. Then invoke. Example: dos2unix trunk.tsv and it will parse the file
in an attempt to clean (remove) formatting remnants left behind from creation or editing that was done on a Windows machine.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,567
Location
Talbot Co, MD
So editing the tsv file in txt editor is ok as long as you have the tabs?
Yes, as long as your editor of choice does not substitute spaces for tabs. Personally I use gvim (or vi) but I'm definitely old-school and would hardly recommend it to someone unfamiliar with linux.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,567
Location
Talbot Co, MD
Looks like two rows of the mich.tsv file have invalid characters. That sometimes happens with RR cut & paste. Edit them, or delete them entirely.
 

kc8zmp

Member
Joined
May 29, 2008
Messages
20
Location
alma michigan
saved these as txt files so you could see. still don't know whats going on
i'm in Isabella county and on the control frequency

thanks for all the help
 

Attachments

  • stderr.2.txt
    234.2 KB · Views: 13
  • trunk.txt
    179 bytes · Views: 21
Status
Not open for further replies.
Top