Java program to decode DMR

Status
Not open for further replies.

molay

Member
Joined
Apr 5, 2009
Messages
46
Reaction score
4
A feature i really would like is that the program could not only output voice data via a TCP/IP socket but also the same log that is present in program window. Maybe on a different TCP port than de voice data. Posibility to issue comand to change polarity would also be handy.

I am thinking about making a little program to control my scanner via serial port, search all VHF/UHF spectrum and logs every frequency DMR found.
 
H

henry-yao

Guest
Thank Ian for your reply. I would like to know how to select the left or right channel of a SoundCard? Since most soundcards have left and right channels, which channel should I connect the discrimator output of a radio? Or the Java software can select the connected channel automatically?
 

wa6yvx

Member
Premium Subscriber
Joined
Dec 19, 2002
Messages
28
Reaction score
0
Location
San Diego
Scanner Programs

I've been trying some of the older Uniden USAD programs for the 396,796 and 996 scanners running them on Ubuntu to control the scanner. That way you can also decode the audio with DSD. They don't seem to support the XT models though. It would take another sound card to run both DMRDecode and DSD. It would be nice to have one computer and one scanner do it all.
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
Thank Ian for your reply. I would like to know how to select the left or right channel of a SoundCard? Since most soundcards have left and right channels, which channel should I connect the discrimator output of a radio? Or the Java software can select the connected channel automatically?

It just requests a mono channel I believe so I'm not sure if the driver software or the hardware selects which (left or right) is used for this. Sorry I can't help more with this.

Regards

Ian
 

DaveH

Member
Joined
Jul 29, 2001
Messages
3,287
Reaction score
56
Location
Ottawa, Ont.
Thanks Ian... I've got an Acer netbook (with an Intel Atom cpu) that I use for DMR Decode on the road and it works great. I guess the Atom is a little snappier than I gave it credit for haha... I'll use the cheapo PC I picked up for some other stuff and keep my eyes out for another cheap dual core box.

I've just acquired a similar netbook, running XP Home and loaded with UniTrunker, Trunk88,
LTR-Analyzer, Trunkview and other goodies. Went to try DMRDecode using the zip file
but found no Java installed; not normally included in XP-H? I'll install Java and try the single
JAR file.

Ian:

Tried to use the unzipped zip file on an XP Pro machine with Java 6.0 but could not get it
to run the file as Java; seems like file association is not working. Tried to open the
DMRDecode Java file (there are a whole bunch in the zip) by pointing to the Java App
in the /bin folder, even then it does not recognize it as Java and kept opening in Notepad.
What looks like a blank MsDos window pops up for less than a second, disappears.
Windows Java file icons are not Java, althought he file description says Java; seem to be text.
Could this be an unzip issue; should go away using single JAR file?

Dave
 
Last edited:

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,072
Reaction score
1,376
Location
Ontario, Canada
Head over to java.com and grab the latest Java runtime. That's all I've ever installed (on XP & 7) and it's always worked just fine.
 

DaveH

Member
Joined
Jul 29, 2001
Messages
3,287
Reaction score
56
Location
Ottawa, Ont.
Head over to java.com and grab the latest Java runtime. That's all I've ever installed (on XP & 7) and it's always worked just fine.

Yep, did that, updated to Rev 27; installed it on the netbook, used the single JAR file
and it was working in less than 10 minutes....thanks! I also tried it on the XP Pro
machine, opened the file just by double-click as you had said.

Now that it's decoding, I'll need to take a closer look...doesn't seem to be much in the
way of system or user info visible. I also tried it on a Connect Plus control channel....no
SYNC; answer may be somewhere back in this or other thread.

Dave
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,072
Reaction score
1,376
Location
Ontario, Canada
If the system is idle, you won't see much at all... other than some info from the idle burst (like the colour code etc). When someone is talking you should see some info down at the bottom which group and radio is in use and on which slot.

Not sure why you wouldn't get sync on a Connect+ channel... the only time I've had issues with not getting sync is when the signal is actually too strong. I was in the parking lot of a place running a new system and I wanted to do some logging on it. Couldn't get sync at all. Went to a coffee shop a few blocks away and it decoded like a dream, so perhaps your signal is overloaded? And of course that works the other way too, although with weak signal I tend to get sporadic bits of info here and there.
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
Glad to hear it is working now. It seems really unpredictable if a new PC comes with Java already installed. My new Dell arrived with it installed and ready to go but my last couple of laptops have needed it installing.

The other big cause of problems is when people install unzip type programs which then decide they "own" the JAR files rather than Java.

Ian
 

DaveH

Member
Joined
Jul 29, 2001
Messages
3,287
Reaction score
56
Location
Ottawa, Ont.
If the system is idle, you won't see much at all... other than some info from the idle burst (like the colour code etc). When someone is talking you should see some info down at the bottom which group and radio is in use and on which slot.

Not sure why you wouldn't get sync on a Connect+ channel... the only time I've had issues with not getting sync is when the signal is actually too strong. I was in the parking lot of a place running a new system and I wanted to do some logging on it. Couldn't get sync at all. Went to a coffee shop a few blocks away and it decoded like a dream, so perhaps your signal is overloaded? And of course that works the other way too, although with weak signal I tend to get sporadic bits of info here and there.

It's a low-power (<5W) 3-channel site system a few km away so the signal's a bit weak,
but steady. I've tried inversion but no effect. Pretty sure it's a C+ system, heard what sounds
like TRBO voice on one of the channels; odd though, the TAFL record (callsign VXN531) shows
11kHz BW, not 7.6kHz. CC has rotated through all three freq's. I may need to get closer to
the source, that's what netbooks are for :)

Dave
 
Last edited:

Dafe1er

Member
Joined
Jan 20, 2011
Messages
817
Reaction score
20
Location
Off in a far away place, far from u.......
Just Nine days shy of the 1 year anniversary for your software, and NOT one person says it, so I will about two months late though...LOL

HAPPY 1 YEAR ANNIVERSARY.

I just got done spending the last hour reading this thread, and must say what a hell of a project you took on and have here, but I really still don't understand why it can not decode the voice for MOTOTRBO. I am playing with dsd now and trying to get the audio working right, but would have loved to been able to d/l this on my regular PC to just double click run and listen.

Great job you have done just from reading about the software in the past year, and I look forward to trying it out once we can hear the voice from MOTOTRBO departments.

Thank you for making this, I look forward to jumping into this soon with all of you!

Dafe.
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
Hello

My thanks for the programs birthday greetings ! I hadn't realised it was so long ago.

I'm afraid DMR voice is a hard one as it protected by various patents. Now I'm not 100% sure if these apply under British/EU law where we don't have software patents however I don't fancy finding out the hard way. I presume this is the reason why the DSD author prefers to stay anonymous. So what I do is make the voice data available on a TCP/IP socket. That way if anyone does have a legal means of decoding the voice data they can connect to the program that way (hopefully they will share their program with the rest of us also).

My apologies for the lack of new DMRDecode features of late but I have been very busy both at home and at work.

Regards

Ian
 

gvodvarka

Member
Joined
Nov 10, 2009
Messages
71
Reaction score
0
Location
Ontario, Ca.
I am running this on a Mac and I keep getting color code 0. I do not get a group code. I an using a dmr radio to encode the signal and capture it on my service monitor thru a repeater. Gary
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
I am running this on a Mac and I keep getting color code 0. I do not get a group code. I an using a dmr radio to encode the signal and capture it on my service monitor thru a repeater. Gary

Hello

What else do you see besides colour code 0 ? Do you see lots of errors ? If so try changing the invert option to see if that improves things. Have you tried decoding from a standard radio scanner with a discriminator output ?

All the best.

Ian
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,072
Reaction score
1,376
Location
Ontario, Canada
Hi Ian,

Saw this thread pop back up and thought of something I meant to ask a while ago. While running DMR Decode (and logging) I sometimes have the bad habit of just closing the program by hitting the X on the window. I find if I do this without first going into File and de-selecting Logging the log file just closes (as one would expect I suppose) without adding the summary at the end. Is there something that could be rolled into future versions that would properly close the logging file before letting the program terminate? I still use your program all the time and it's invaluable! Thanks again for all the hard work!
 

gvodvarka

Member
Joined
Nov 10, 2009
Messages
71
Reaction score
0
Location
Ontario, Ca.
I do not know how to use the invert option. I have attached the info I am getting. Gary I am a two-way radio dealer and as a repeater operator I need to know if someone is using my repeater without my permission. I have managed to program radios and use them on several Mototurbo repeaters with out anyone finding me. This is a real problem as the client radio controls all the groups allowed. With only 15 color codes it only takes a few seconds to find one that works. Gary
 

Attachments

  • turbo1.jpg
    turbo1.jpg
    94.7 KB · Views: 1,000

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
Hi Forts

Hi Ian,

Saw this thread pop back up and thought of something I meant to ask a while ago. While running DMR Decode (and logging) I sometimes have the bad habit of just closing the program by hitting the X on the window. I find if I do this without first going into File and de-selecting Logging the log file just closes (as one would expect I suppose) without adding the summary at the end. Is there something that could be rolled into future versions that would properly close the logging file before letting the program terminate? I still use your program all the time and it's invaluable! Thanks again for all the hard work!

I will have to look into this when I get some spare time. It all depends on if Java programs can receive shutdown messages from Windows and act on them before closing down. I used to do this with Visual C++ programs in the old days but I'm not sure if it possible with Java.

Ian
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
Hello Gary

I do not know how to use the invert option. I have attached the info I am getting. Gary I am a two-way radio dealer and as a repeater operator I need to know if someone is using my repeater without my permission. I have managed to program radios and use them on several Mototurbo repeaters with out anyone finding me. This is a real problem as the client radio controls all the groups allowed. With only 15 color codes it only takes a few seconds to find one that works. Gary

Yes you need to change the invert option. Click on the "Main" menu item then click on the "Invert Signal" option. Once you have done that what you see should make more sense.

Good Luck

Ian
 

gvodvarka

Member
Joined
Nov 10, 2009
Messages
71
Reaction score
0
Location
Ontario, Ca.
DMR Decoding

It looks like I do have inverted selected. Do I need to Capture and or Log to get all the info I am looking for?
 

gvodvarka

Member
Joined
Nov 10, 2009
Messages
71
Reaction score
0
Location
Ontario, Ca.
DMR Decoding

I got it! It is NON Inverted. Has Group Address 6666 Source Address 33. What is the source address? Its that the radio that is talking? Thanks for all the help. I don't seem to be getting audio yet but I'm sure it will work soon. Gary
 
Status
Not open for further replies.
Top