Java program to decode DMR

Status
Not open for further replies.

cobra

Member
Premium Subscriber
Joined
Dec 19, 2002
Messages
51
Location
Columbia SC
I ran the program for one hour with "quick log" enabled. The file I designated was empty and the text file saved 2.6 GBytes of what you see below. I searched it for "address" and for "users" and came up empty. I think there must be a bug in my build 74 downbload, though I have erased and downloaded the program twice. I might trying erasing it and downloading an earlier build. Any other ideas ?

john


CACH : TACT AT=1 Ch 2 First fragment of CSBK
3:46:38 PM DMR Voice Frame (BS)
CACH : TACT AT=1 Ch 1 First fragment of LC
3:46:38 PM DMR Voice Frame (BS)
CACH : TACT AT=1 Ch 2 Last fragment of LC
3:46:38 PM DMR Voice Frame (BS)
CACH : TACT AT=1 Ch 1 First fragment of CSBK
3:46:38 PM DMR Voice Frame (BS)
CACH : TACT AT=1 Ch 2 First fragment of CSBK
3:46:38 PM DMR Voice Frame (BS)
CACH : TACT AT=1 Ch 1 First fragment of LC
3:46:38 PM DMR Voice Frame (BS)
CACH : TACT AT=1 Ch 2 Last fragment of LC
3:46:38 PM DMR Voice Frame (BS)
CACH : TACT AT=1 Ch 1 First fragment of CSBK
3:46:38 PM DMR Voice Frame (BS)
CACH : TACT AT=1 Ch 2 First fragment of CSBK
3:46:38 PM DMR Embedded Frame - Error !


No users were logged
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
6,889
Location
Ontario, Canada
OK I really hate to sound like a broken record here but have you tried Save To File? I'm telling you.. It works. There won't be anything wrong with your download... If it was corrupt it wouldn't run.
 

cobra

Member
Premium Subscriber
Joined
Dec 19, 2002
Messages
51
Location
Columbia SC
Save to file is what produced the text file I quoted. I have tried both inverted and non inverted. It runs both ways.
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
6,889
Location
Ontario, Canada
Oh ok... Your post above says you used quick log. Usually when you see the never ending voice frames repeating over and over the invert option is wrong. At a minimum you should be seeing the color code with each burp of data.
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Location
ianwraith@gmail.com
The clue that your invert option is set incorrectly is in the CACH lines. A correct log (just the CACH shown) will look like this ..

CACH : TACT Ch 1 First fragment of LC
CACH : TACT Ch 2 Continuation fragment of LC
CACH : TACT Ch 1 Continuation fragment of LC
CACH : TACT Ch 2 Last fragment of LC

Note the first fragment , two continuation fragments then an end. Another sure clue to this is the number of Voice PDUs as on a good decode you will see far far more data PDUs.

Make a brief log (no longer than 30 secs) with the invert cleared and then close that and change the invert setting and make another brief log. Put sections of both logs in a post. Don't change any other settings apart from invert and don't worry about quick log until you have basics sorted.

Regards

Ian
 

cobra

Member
Premium Subscriber
Joined
Dec 19, 2002
Messages
51
Location
Columbia SC
Thank you, thank you, both Forts and Ian. When all else fails, blame it on Windows! After re-booting the computer I get a message that I have never seen before that says "certain Java applications have been blocked by Windows firewall, etc." After clearing out the block and running again, the program made a .csv file that I can use.
Hopefully this exercise will help someone else whose Windows firewall is constricting their downloads.

I have an old laptop that I am going to wipe Windows from and install a Unbuntu system.

Grrrrr..Windows.

John
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
6,889
Location
Ontario, Canada
Gotta love it when stuff like that happens eh? I'm sure you'll get it sorted out. Usually the hardest part is getting clean audio into DMRd which it sounds like you have under control. Now it's just a matter of getting Windows to play nice!
 

phildo

Member
Joined
Feb 21, 2003
Messages
2
Location
Brisbane
Just a quick note to let you know that after a break due to work I am back working on DMRDecode this week. Currently I'm adding yet more Tier III support so the program better supports these systems which seem to be appearing all over the place (but none as yet in the US).

Tier III support is quite a lot of work but in case there is any time left over can anyone else suggest any quick features they want ?

Cheers

Ian

I am monitoring a Tait Tier 3 system and see a lot of data frame errors that I don't see when monitoring Mototrbo systems. 38% bad frames compared to 1% with a Mototrbo capacity plus system. The signal is not as good as the Moto in strength and quality however DSD+ doesn't miss a beat when decoding voice.

For DMR Tier 3, be nice to be able to have the display filter out some of the informative messages such as system parameters ie.network identifier, Reg and common_slot counter. This is good info to obtain once, but nice to have it filtered out so screen doesn't continually scroll by.

I'm now sure on the degree/depth of outbound PDU decoding exists for control channels, but be nice to have the ability to have the display filter out by user selection, the various PDUs by type ie. announcements - call times, announcements - vote now, alohas

I'll have a bo beep in the source code to see what is decoded and see if I can find the message types in the capture files.

If you need some captured audio from this system, let me know the requirements and I'll get a capture for you.

Cheers, Phil
 

funatic

Member
Joined
Sep 9, 2010
Messages
22
Where can I download the last build "ready-to-go"? The link borg.shef.ac.uk does not work... Thanks a lot!
 

EricCottrell

Member
Premium Subscriber
Joined
Nov 8, 2002
Messages
2,414
Location
Boston, Ma
I am monitoring a Tait Tier 3 system and see a lot of data frame errors that I don't see when monitoring Mototrbo systems. 38% bad frames compared to 1% with a Mototrbo capacity plus system. The signal is not as good as the Moto in strength and quality however DSD+ doesn't miss a beat when decoding voice.

For DMR Tier 3, be nice to be able to have the display filter out some of the informative messages such as system parameters ie.network identifier, Reg and common_slot counter. This is good info to obtain once, but nice to have it filtered out so screen doesn't continually scroll by.

I'm now sure on the degree/depth of outbound PDU decoding exists for control channels, but be nice to have the ability to have the display filter out by user selection, the various PDUs by type ie. announcements - call times, announcements - vote now, alohas

I'll have a bo beep in the source code to see what is decoded and see if I can find the message types in the capture files.

If you need some captured audio from this system, let me know the requirements and I'll get a capture for you.

Cheers, Phil
Hello,

A capture would be good as there are not many Tier 3 systems where the program developers are. I am fortunate to have a Hytera Tier 3 system just out of radio range that I can only receive when there is tropo. So a file that is Mono 16 bit at a 48K sample rate would be great.

I was able to add some of the Tier 3 messages to the dsd program.
http://forums.radioreference.com/di...-improvements-i-am-working-3.html#post2209834

The windows version of dsd for testing NXDN decoding will also decode DMR including some of the standard Tier 3 messages. I would be interested to see if it works on a Tait system and if Tait uses some proprietary messages like Hytera does.
http://forums.radioreference.com/di...-improvements-i-am-working-7.html#post2262315

73 Eric
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
6,889
Location
Ontario, Canada
I wish the hell I could use this DSD stuff. I bought a Pro-163 that has a tap & all, but I reckon I'm not intelligent enough to use it. Just my luck! :-(

Why not give it a try? It's pretty straightforward for the most part.
 

rob12770

Member
Joined
Oct 26, 2014
Messages
35
Location
glasgow scotland
Hello

My thanks for everyones kind comments on my project. I would encourage anyone with an interest to take a look at the DSD code as its very interesting. If you do start a project have a look at Github as a way of sharing the code with others interested as its a useful resource.

Regards

Ian

lol i cant even figure out Github never mind programing java haahh
u got a windows ready for us non programers to try ?
 

rob12770

Member
Joined
Oct 26, 2014
Messages
35
Location
glasgow scotland
i dont understand.. i downloaded drmdecode and it dosent.. i mean decode.. is this a replacement for dsdplus ? what is it ?
btw i read here somewhere its not for decoding.. despite the name.. which i found odd... have i been missinformed ?
 
Last edited:

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
6,889
Location
Ontario, Canada
You need to read more. DMRDecode shows details of DMR systems and calls in progress, such as color codes, group codes and radio IDs. It does not decode audio, it is not a replacement for DSD+ (it was released well before DSD+, but is based off the original DSD).
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Location
Virginia
Hello,

A capture would be good as there are not many Tier 3 systems where the program developers are. I am fortunate to have a Hytera Tier 3 system just out of radio range that I can only receive when there is tropo. So a file that is Mono 16 bit at a 48K sample rate would be great.

I was able to add some of the Tier 3 messages to the dsd program.
http://forums.radioreference.com/di...-improvements-i-am-working-3.html#post2209834

The windows version of dsd for testing NXDN decoding will also decode DMR including some of the standard Tier 3 messages. I would be interested to see if it works on a Tait system and if Tait uses some proprietary messages like Hytera does.
http://forums.radioreference.com/di...-improvements-i-am-working-7.html#post2262315

73 Eric

I have a Tier 3 system near me too. I've uploaded a file to dropbox for anyone interested. I hope it will be useful to you, and also to Ian if he requires it for any further tier 3 DMR decoding. I don't think there is any voice on this system, it's just a recording of the control channel.
https://www.dropbox.com/s/qurterbce3acy6r/DSDPlus-Raw-Input_2014-11-10@201952.wav?dl=0
 
Status
Not open for further replies.
Top