op25 on Raspberry Pi Decoding DMR

Status
Not open for further replies.

hydes2004

Member
Joined
Jul 14, 2010
Messages
89
I have a local agency on 155.130 that has switched to DMR. They are not encrypted. I can not find any info to setup a single site DMR setup in op25.

Freq 155.130
Color 12
Slot 1


Does anyone have an example file I could try out?
 

Dark_Hunter

Member
Joined
Jun 12, 2018
Messages
97
Location
New Zealand
It's tucked away in few subfolders on the GitHub. Link below. Take a look at dmr_rtl_example.json to see what's going on.

https://github.com/boatbod/op25/tree/master/op25/gr-op25_repeater/apps
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
Try the attached config (after renaming cfg_rtl.json.txt to cfg_rtl.json)
To actually play audio you will need two terminal windows:
#1
./multi_rx.py -c cfg_rtl.json -v 10 2> stderr.2

#2
./audio.py -2

Sometimes it can be helpful to have a third terminal window running to show realtime log contents
#3
tail -f stderr.2
 

Attachments

  • cfg_rtl.json.txt
    648 bytes · Views: 63

hydes2004

Member
Joined
Jul 14, 2010
Messages
89
gnuplot: unable to open display ''
gnuplot: X11 aborted.

gnuplot> et terminal x11 noraise
^
line 112347: invalid command


gnuplot: unable to open display ''
gnuplot: X11 aborted.

gnuplot> et terminal x11 noraise
^
line 112860: invalid command


gnuplot: unable to open display ''
gnuplot: X11 aborted.
 

hydes2004

Member
Joined
Jul 14, 2010
Messages
89
gnuplot is installed, after a fresh install and installing using your boatbot link you sent me in the other thread i open 3 terminal windows like you shown before and i sitll get that error
 

hydes2004

Member
Joined
Jul 14, 2010
Messages
89
I was able to paste it. the freq gui shows it on cetner of my freq
1579614353.764742 [-1] Slot(0), CC(c), IDLE
1579614353.768907 [-1] Slot(1), CC(c), Data Type=9, gly_errs=0
1579614353.768994 [-1] Slot(1), CC(c), IDLE
1579614353.772459 [-1] Slot(0), CC(c), Data Type=9, gly_errs=0
1579614353.772734 [-1] Slot(0), CC(c), IDLE
1579614353.783577 [-1] SLCO=0x0, NULL MSG
1579614353.783815 [-1] Slot(1), CC(c), Data Type=9, gly_errs=0
1579614353.783916 [-1] Slot(1), CC(c), IDLE
1579614353.859108 [-1] Slot(0), CC(c), Data Type=9, gly_errs=0
1579614353.859353 [-1] Slot(0), CC(c), IDLE
1579614353.889251 [-1] Slot(1), CC(c), Data Type=9, gly_errs=0
1579614353.889444 [-1] Slot(1), CC(c), IDLE
1579614353.893783 [-1] Slot(0), CC(c), Data Type=9, gly_errs=0
1579614353.893970 [-1] Slot(0), CC(c), IDLE
1579614353.897240 [-1] SLCO=0x0, NULL MSG
1579614353.897436 [-1] Slot(1), CC(c), Data Type=9, gly_errs=0
1579614353.897506 [-1] Slot(1), CC(c), IDLE
1579614353.901762 [-1] Slot(0), CC(c), Data Type=9, gly_errs=0
1579614353.901948 [-1] Slot(0), CC(c), IDLE
1579614353.998063 [-1] Slot(1), CC(c), Data Type=9, gly_errs=0
1579614353.998286 [-1] Slot(1), CC(c), IDLE
1579614354.004741 [-1] Slot(0), CC(c), Data Type=9, gly_errs=0
1579614354.005039 [-1] Slot(0), CC(c), IDLE
1579614354.011386 [-1] SLCO=0x0, NULL MSG
1579614354.011732 [-1] Slot(1), CC(c), Data Type=9, gly_errs=0
1579614354.011900 [-1] Slot(1), CC(c), IDLE
1579614354.018901 [-1] Slot(0), CC(c), Data Type=9, gly_errs=0
1579614354.019689 [-1] Slot(0), CC(c), IDLE
1579614354.023910 [-1] Slot(1), CC(c), Data Type=9, gly_errs=0
1579614354.024529 [-1] Slot(1), CC(c), IDLE
1579614354.162388 [-1] Slot(0), CC(c), Data Type=9, gly_errs=0
1579614354.162484 [-1] Slot(0), CC(c), IDLE
1579614354.165730 [-1] SLCO=0x0, NULL MSG
1579614354.165831 [-1] Slot(1), CC(c), Data Type=9, gly_errs=0
1579614354.165851 [-1] Slot(1), CC(c), IDLE
1579614354.454674 [-1] Slot(0), CC(c), PI(1), EMB lcss(2), qr_errs=2
1579614354.541734 [-1] DMR: timeout, symbol 119286
 

boatbod

Member
Joined
Mar 3, 2007
Messages
3,339
Location
Talbot Co, MD
Looks like the RTL is properly tuned and receiving data as evidenced by the IDLE messages. If you reduce the log level to "-v 9" you can watch for AMBE codewords which would occur when voice is received and decoded.

Note: "DMR timeout" message occurs when the base station stops transmitting or framing is temporarily lost due to too high a bit error rate. In other words it may be a perfectly normal situation if there is no traffic and the BS has shut off due to inactivity.
 

hydes2004

Member
Joined
Jul 14, 2010
Messages
89
so, it decodes, but not audio trough headphone jack. already set alsamixer to use headphone jack
 

kb9mwr

Member
Joined
Apr 8, 2003
Messages
263
Location
Green Bay, WI
Have you verified that you can play a .wav file with aplay from the command line and hear it out the headphone jack? I always start by throwing a .wav file on the pi and make sure works.
 
Status
Not open for further replies.
Top