OP25: Changed my CC, What did I screw up (on my trunk.tsv)?

Status
Not open for further replies.

zapman987

Member
Premium Subscriber
Joined
Jan 16, 2014
Messages
292
Location
nc, recently moved to jax, FL
Had to update my CC after a system change this weekend. After this, I get no audio when using my trunk.tsv file (below).

"Sysname" "Control Channel List" "Offset" "NAC" "Modulation" "TGID Tags File" "Whitelist" "Blacklist" "Center Frequency"
"ClayCounty" "860.9625" "0" "0x8a1" "CQPSK" "clay.csv" "301, 302" "400, 402, 414, 417, 421, 430, 433, 600, 686, 700, 800"

via
./rx.py --args 'rtl' -N 'LNA:39' -S 960000 -o 25000 -T trunk.tsv -O loop0 -U -n -v 5 2> stderr-stream0.2

Using this works 100%:
./rx.py --args 'rtl' -N 'LNA:39' -S 960000 -o 25000 -f 860.9625e6 -O loop0 -U -n -v 5 2> stderr-stream0.2
with a manual "t" on the op25 screen.

Everything else is working fine (aside from a non-impacting error I posted else on here). CC's are tracked, TGs filtered and actioned properly. Just no audio.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,316
Location
Talbot Co, MD
Had to update my CC after a system change this weekend. After this, I get no audio when using my trunk.tsv file (below).

"Sysname" "Control Channel List" "Offset" "NAC" "Modulation" "TGID Tags File" "Whitelist" "Blacklist" "Center Frequency"
"ClayCounty" "860.9625" "0" "0x8a1" "CQPSK" "clay.csv" "301, 302" "400, 402, 414, 417, 421, 430, 433, 600, 686, 700, 800"

via
./rx.py --args 'rtl' -N 'LNA:39' -S 960000 -o 25000 -T trunk.tsv -O loop0 -U -n -v 5 2> stderr-stream0.2

Using this works 100%:
./rx.py --args 'rtl' -N 'LNA:39' -S 960000 -o 25000 -f 860.9625e6 -O loop0 -U -n -v 5 2> stderr-stream0.2
with a manual "t" on the op25 screen.

Everything else is working fine (aside from a non-impacting error I posted else on here). CC's are tracked, TGs filtered and actioned properly. Just no audio.

Curiously, the rx.py that works "100%" is configured for P25 Conventional, not trunk tracking which is odd considering you are talking about a control channel. I can only guess that you are manually activating trunking by pressing "t" inside the terminal once it's running? :)

With the proper rx.py command line (first version) what errors if any do you see in stderr-stream0.2?
Make sure each parameter in the trunk.tsv file is separated by exactly one <TAB> character rather than spaces.
Post the log file and I'll try to assist further.
 

zapman987

Member
Premium Subscriber
Joined
Jan 16, 2014
Messages
292
Location
nc, recently moved to jax, FL
Curiously, the rx.py that works "100%" is configured for P25 Conventional, not trunk tracking which is odd considering you are talking about a control channel. I can only guess that you are manually activating trunking by pressing "t" inside the terminal once it's running? :)
"zapman987" said:
with a manual "t" on the op25 screen.
:)


This block is with the trunk file. As you can see it immediately picked up a TG, but its not doing audio. Ignore the tuning errors, I manually adjust it on start.

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 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
[R82XX] PLL not locked!
Using two-stage decimator for speed=960000, decim=10/4 if1=96000 if2=24000
Project 25 IMBE Encoder/Decoder Fixed-Point implementation
Developed by Pavel Yazev E-mail: pyazev@gmail.com
Version 1.0 (c) Copyright 2009
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see the file ``LICENSE'' for details.
op25_audio::eek:pen_socket(): enabled udp host(127.0.0.1), wireshark(23456), audio(23456)
p25_frame_assembler_impl: do_imbe[1], do_output[0], do_audio_output[1], do_phase2_tdma[0], do_nocrypt[1]
Reading whitelist file
Reading blacklist file
metadata update not enabled
audio device: loop0
p25_framer::rx_sym() tuning error +1200
p25_framer::rx_sym() tuning error +1200
p25_framer::rx_sym() tuning error +1200
p25_framer::rx_sym() tuning error +1200
1555884321.993370 control channel timeout
1555884321.994111 do_metadata state=1: [None] None
1555884322.424891 set tgid=414, srcaddr=0
1555884322.427022 new tgid: 414 CCSO 414 prio 3
1555884322.429923 new freq: 856.437500
1555884322.696098 set tgid=414, srcaddr=0
1555884322.973287 set tgid=414, srcaddr=0


This is without the trunk file and a manual "t". I get audio from this.

op25_audio::eek:pen_socket(): enabled udp host(127.0.0.1), wireshark(23456), audio(23456)
p25_frame_assembler_impl: do_imbe[1], do_output[0], do_audio_output[1], do_phase2_tdma[0], do_nocrypt[1]
metadata update not enabled
audio device: loop0
p25_framer::rx_sym() tuning error +1200
p25_framer::rx_sym() tuning error +1200
p25_framer::rx_sym() tuning error +1200
p25_framer::rx_sym() tuning error +1200
p25_framer::rx_sym() tuning error +1200
1555884427.685718 do_metadata state=1: [None] None
 

zapman987

Member
Premium Subscriber
Joined
Jan 16, 2014
Messages
292
Location
nc, recently moved to jax, FL
Sorry for the thread bump, but I got the "how" figured out tonight, but not the "why"

When I have anything in Whitelist, it doesnt track anything (effectively blacklists everything). Am I forgetting something in how the whitelist works? To me it would prioritize anything there, ignore everything in blacklist, and play normally (after whitelist) anything not in black or white.

Its funny as its reading the TG file ok I can tell via logs (outputting my TG tags) but its not showing tracking at all of them on the op25 GUI.

Logs:

This is a black list entry that I can tell (the CCSO) that its reading the TG file
1559950117.207884 set tgid=417, srcaddr=3412048
1559950117.208746 new tgid: 417 CCSO 417 prio 3
1559950117.339670 set tgid=417, srcaddr=3412048
1559950117.351829 set tgid=417, srcaddr=0


This is a normal entry when its actually working
1559950206.257474 new tgid: 300 CCFR Dispatch prio 3
1559950206.257992 voice update: tg(300), freq(857987500), slot(-), prio(3)
1559950206.258282 do_metadata state=0: [300] CCFR Dispatch
1559950206.320071 set tgid=417, srcaddr=3416070
1559950206.353526 set tgid=300, srcaddr=3400009
1559950207.167660 set tgid=417, srcaddr=0
1559950207.297009 duid15, tg(300)
1559950207.354793 set tgid=417, srcaddr=0
1559950207.354983 hold active tg(300)
1559950207.443877 set tgid=417, srcaddr=0
1559950207.444142 hold active tg(300)


Effectively best I can tell, when its not working, the voice update and do_metadata state lines never happens.
 

slicerwizard

Member
Joined
Sep 19, 2002
Messages
7,643
Location
Toronto, Ontario
When I have anything in Whitelist, it doesnt track anything (effectively blacklists everything). Am I forgetting something in how the whitelist works? To me it would prioritize anything there, ignore everything in blacklist, and play normally (after whitelist) anything not in black or white.
Don't think I've ever heard a whitelist described like that before.
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,316
Location
Talbot Co, MD
Ok so why have the whitelist at all? Just to not to have to fill in the blacklist?
Absence of whitelist and blacklist means op25 receives any tgid.

Presence of a blacklist means op25 receives any tgid except those listed in the blacklist.

Presence of a whitelist means op25 only receives the tgids in the whitelist.
 
Status
Not open for further replies.
Top