Java program to decode DMR

Status
Not open for further replies.

grosminet

Member
Joined
Jan 21, 2004
Messages
318
Reaction score
101
still error

hello with very last version always have errors like :




CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:30 DMR Voice Frame - Error !
18:02:30 DMR Voice Frame - Error !
18:02:30 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:30 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:30 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:30 DMR Embedded Frame - Error !
18:02:30 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:30 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:30 DMR Embedded Frame - Error !
CACH : TACT Ch 1 Last fragment of LC
18:02:29 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:29 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:29 DMR Voice Frame - Error !
18:02:29 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:29 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:29 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:29 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:29 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:29 DMR Voice Frame - Error !
18:02:29 DMR Voice Frame - Error !
18:02:29 DMR Voice Frame - Error ! (Symbols=576)
18:02:29 DMR Embedded Frame - Error !
18:02:29 DMR Embedded Frame - Error !
CACH : TACT Ch 1 Last fragment of LC
18:02:29 DMR Voice Frame - Error !
18:02:29 DMR Voice Frame - Error !
18:02:29 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:29 DMR Voice Frame (Symbols=432)
CACH : TACT Ch 1 Last fragment of LC
18:02:29 DMR Embedded Frame - Error !
18:02:29 DMR Embedded Frame - Error !
CACH : TACT Ch 1 Last fragment of LC
18:02:29 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:29 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:29 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:29 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:29 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:29 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:29 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:29 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:29 DMR Voice Frame - Error !
18:02:29 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:28 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:28 DMR Embedded Frame - Error !
CACH : TACT Ch 1 Last fragment of LC
18:02:28 DMR Voice Frame - Error !
18:02:28 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:28 DMR Voice Frame - Error !
18:02:28 DMR Embedded Frame - Error !
18:02:28 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:28 DMR Embedded Frame - Error !
CACH : TACT Ch 1 First fragment of CSBK
18:02:28 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:28 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:28 DMR Voice Frame - Error !
18:02:28 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:28 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:28 DMR Embedded Frame - Error !
CACH : TACT Ch 1 Last fragment of LC
18:02:28 DMR Voice Frame - Error !
18:02:28 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:28 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:28 DMR Voice Frame - Error !
18:02:28 DMR Embedded Frame - Error !
18:02:28 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:28 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:28 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:28 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:28 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:28 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:28 DMR Embedded Frame - Error !
18:02:28 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:28 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:28 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:28 DMR Voice Frame - Error !
18:02:28 DMR Voice Frame - Error !
18:02:28 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:28 DMR Embedded Frame - Error !
18:02:28 DMR Voice Frame - Error !
18:02:28 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:27 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:27 DMR Voice Frame - Error !
18:02:27 DMR Embedded Frame - Error !
CACH : TACT Ch 1 Last fragment of LC
18:02:27 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:27 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:27 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:27 DMR Voice Frame - Error !
18:02:27 DMR Voice Frame - Error !
18:02:27 DMR Voice Frame - Error !
18:02:27 DMR Embedded Frame - Error !
18:02:27 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:27 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:27 DMR Voice Frame - Error !
18:02:27 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:27 DMR Embedded Frame - Error !
CACH : TACT Ch 1 Last fragment of LC
18:02:27 DMR Voice Frame - Error !
18:02:27 DMR Voice Frame - Error !
18:02:27 DMR Embedded Frame - Error !
18:02:27 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:27 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:27 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:27 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:27 DMR Voice Frame - Error !
18:02:27 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:27 DMR Voice Frame (Symbols=288)
CACH : TACT Ch 1 First fragment of CSBK
18:02:27 DMR Embedded Frame - Error !
18:02:27 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:27 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:27 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:27 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:26 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:26 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:26 DMR Embedded Frame - Error !
18:02:26 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:26 DMR Voice Frame - Error !
18:02:26 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:26 DMR Voice Frame - Error !
18:02:26 DMR Embedded Frame - Error !
CACH : TACT Ch 1 Last fragment of LC
18:02:26 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:26 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:26 DMR Voice Frame - Error !
18:02:26 DMR Voice Frame - Error !
18:02:26 DMR Voice Frame - Error !
18:02:26 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:26 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:26 DMR Voice Frame - Error !
18:02:26 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:26 DMR Voice Frame (Symbols=288)
CACH : TACT Ch 1 First fragment of CSBK
18:02:26 DMR Embedded Frame - Error !
18:02:26 DMR Voice Frame - Error !
18:02:26 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:26 DMR Voice Frame
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:26 DMR Embedded Frame - Error !
18:02:26 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:26 DMR Embedded Frame - Error !
CACH : TACT Ch 1 First fragment of CSBK
18:02:26 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:26 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:26 DMR Embedded Frame - Error !
18:02:26 DMR Voice Frame - Error ! (Symbols=1440)
18:02:25 DMR Embedded Frame - Error !
18:02:25 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:25 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:25 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:25 DMR Embedded Frame - Error !
CACH : TACT Ch 1 Last fragment of LC
18:02:25 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:25 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:25 DMR Embedded Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of CSBK
18:02:25 DMR Voice Frame
CACH : TACT Ch 1 Last fragment of LC
18:02:25 DMR Data Frame - Error !
CACH : TACT AT=1 Ch 2 First fragment of LC
18:02:25 DMR Voice Frame
CACH : TACT Ch 1 First fragment of CSBK
18:02:25 DMR Embedded Frame - Error !
18:02:25 DMR Voice Frame

changed PC, sound card , sound card settings , different frequencies , I can't change my AR5000 discriminator output . What can I do ?
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,079
Reaction score
1,391
Location
Ontario, Canada
Excellent work! Can't wait to give this latest build a try!

Question... is there any way to tell if encryption is being used on a system? So far the only way I've been able to try to determine this is whether or not DSD will decode any audio. If it doesn't, likely ENC. Just looking for an easier way to determine this....

Thanks and keep up the great work!
 

TampaTyron

Beep Boop, Beep Boop
Joined
Feb 1, 2010
Messages
1,263
Reaction score
555
Location
Phoenix, AZ
most likely, we would have to provide Ian an audio sample as he does not have any encrypted systems near him to test. I have demo systems that I can setup any freq, id, talkgroup, and enc combination for testing and validation. TT
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,079
Reaction score
1,391
Location
Ontario, Canada
Ah ok... I could provide samples as well if required. It seems all the systems around here are using encryption :(
 

TampaTyron

Beep Boop, Beep Boop
Joined
Feb 1, 2010
Messages
1,263
Reaction score
555
Location
Phoenix, AZ
Forts,
...........thats where it starts to get grey. here in the US, we cannot legally decode an encrypted communication. There are 2 enc systems with Mototrbo. The one with only a few possible codes will give you digital garbled voice in RX (if listening to the correct freq, color code, slot, and group id). The more secure 40-bit algo should only give you hash or white noise on RX (if listening to the correct freq, color code, slot, and group id). TT
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,079
Reaction score
1,391
Location
Ontario, Canada
Yeah, that's totally understandable.... And actually I wasn't looking for whether or not a system was using Basic or Enhanced Privacy or anything of that nature. Just whether or not encryption is being used period (so I know not to bother trying to figure out who is using it etc with DSD.
 

TampaTyron

Beep Boop, Beep Boop
Joined
Feb 1, 2010
Messages
1,263
Reaction score
555
Location
Phoenix, AZ
Forts,
that is essentially where I am too. Using DSD or a DMR capable radio and Ian's program, you could figure out whether it is 1 of 16 codes or 1 of millions by the sound of the audio. My customers have not been happy with the Enhanced Privacy (40 bit encryption) as it reduces the quality of already poor digital audio. Keep in mind that this is with customers migrating from old school wideband radio systems where dispatchers and other users can tell each other by the sound of their voice and use message interpretation based on inflection in each other voices. Not worth getting in trouble for. TT
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
hello with very last version always have errors like :

CACH : TACT AT=1 Ch 2 First fragment of CSBK

changed PC, sound card , sound card settings , different frequencies , I can't change my AR5000 discriminator output . What can I do ?

Don't worry I think you just have your "Invert Signal" option set incorrectly. Try changing it and I think it will decode OK.

Regards

Ian
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
Question... is there any way to tell if encryption is being used on a system? So far the only way I've been able to try to determine this is whether or not DSD will decode any audio. If it doesn't, likely ENC. Just looking for an easier way to determine this....

The answer is I think you will be able to tell. Monitor a system with logging enabled for a while then search the log for the phrases "PI Header" and "Privacy Enabled". If you see any of those then I would bet the system is encrypted.

Regards

Ian
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,079
Reaction score
1,391
Location
Ontario, Canada
Good to know! Once again, thanks!

Edit: Look what I found in my log!

Service Options : Non-emergency/Privacy Enabled/No priority
 
Last edited:

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,079
Reaction score
1,391
Location
Ontario, Canada
One more question for you.... what does the bar at the bottom indicate, and the red vs green?

I seem to be getting a lot of errors and having a hard time to getting it to sync so I've been playing with my mixer settings... just not sure if that bar would help me dial things in. I'm also wondering if my discriminator tap isn't getting the job done... I can't seem to get the sync to lock on for any more than a second or so at a time. It just toggles between sync and no sync, and there seems to be an excessive amount of Error! messages.

5:56:33 PM DMR Embedded Frame - Error !
5:56:33 PM DMR Embedded Frame - Error !
CACH : TACT Ch 1 Continuation fragment of LC
5:56:33 PM DMR Data Frame - Error !
CACH : TACT Ch 2 Continuation fragment of LC
Slot Type : Colour Code 7 Idle
5:56:32 PM DMR Data Frame
CACH : TACT Ch 1 First fragment of LC
Slot Type : Colour Code 7 Idle
5:56:32 PM DMR Data Frame
CACH : TACT Ch 2 Last fragment of LC
Slot Type : Colour Code 7 Idle
5:56:32 PM Short LC : Nul_Msg
5:56:32 PM DMR Data Frame - Error !
CACH : TACT Ch 1 Continuation fragment of LC
5:56:32 PM DMR Data Frame - Error !
CACH : TACT Ch 2 Continuation fragment of LC
Slot Type : Colour Code 7 Idle
5:56:27 PM DMR Embedded Frame - Error !
5:56:26 PM DMR Embedded Frame - Error !
CACH : TACT Ch 1 First fragment of LC
5:56:26 PM DMR Data Frame
CACH : TACT Ch 2 Last fragment of LC
Slot Type : Colour Code 7 Idle
5:56:26 PM Short LC : Nul_Msg
5:56:26 PM DMR Data Frame - Error !
 
Last edited:

grosminet

Member
Joined
Jan 21, 2004
Messages
318
Reaction score
101
inverted signal

Hello IanWraith

I have had my signal NOT inverted but our conclusion (french point of view) is that the AR5000 discriminator has bad output .

Even with strong signal playing with mixer input , different sound cards , computers , it is the same result .

We plan to buy some cheaps scanners with discriminator output to test

maybe somebody has a nice picture of a good signal that could help us

Thanks for great job on this program
 

rogal

Member
Joined
Jun 9, 2010
Messages
7
Reaction score
0
Hello!

Thank you for this amazing software :). I have an idea - would it be possible to implement some support for custom-written plugins? For example to hook some additional functions and have access to raw DMR packets and "console" output. Would be great to experiment with DMR using small pieces of code and not to harvest through existing JavaDMR code.
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
Good to know! Once again, thanks!

Edit: Look what I found in my log!

Service Options : Non-emergency/Privacy Enabled/No priority

Thats the first time I have heard a report of an actual encrypted DMR system. No one over here in the UK has come across one yet.

Any idea who the owner of the system is ?

Ian
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
One more question for you.... what does the bar at the bottom indicate, and the red vs green?

I seem to be getting a lot of errors and having a hard time to getting it to sync so I've been playing with my mixer settings... just not sure if that bar would help me dial things in. I'm also wondering if my discriminator tap isn't getting the job done... I can't seem to get the sync to lock on for any more than a second or so at a time. It just toggles between sync and no sync, and there seems to be an excessive amount of Error! messages.

I had hoped the volume bar would help with getting the least number of errors but it doesn't seem to work like that. For instance to monitor the local University system with the least errors I need the volume bar to be barely visable but to monitor a local shopping centre it needs to be half way in the green.

The current version of the program I'm working on has got the error rate down as low as 3% but only for short periods and has shown up some areas where the program needs improving. So hang on and hopefully I will have something better for you next week.

Regards

Ian
 

IanWraith

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

I have had my signal NOT inverted but our conclusion (french point of view) is that the AR5000 discriminator has bad output .

Even with strong signal playing with mixer input , different sound cards , computers , it is the same result .

Just one thing I find that with a very strong signal the discriminator output becomes corrupted. Have you tried swtiching in the AR5000's attenuator ? That is the only way I can decode some strong local DMR signals.

Regards

Ian
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
I have an idea - would it be possible to implement some support for custom-written plugins? For example to hook some additional functions and have access to raw DMR packets and "console" output. Would be great to experiment with DMR using small pieces of code and not to harvest through existing JavaDMR code.

I do have plans once I have improved the error rate to add a feature to the program so it outputs voice data to other programs that connect via a TCP/IP socket. This will allow the program to run on the same PC as DMR Decode or on another PC on the other side of the world. Plus the other program can be written in whatever language you want. Is that the sort of thing you are wanting ?

Regards

Ian
 

rogal

Member
Joined
Jun 9, 2010
Messages
7
Reaction score
0
Hi!

It would be great to have also accesss to all DMR frames like data, CACH, etc.
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
12,029
Reaction score
3,296
Location
Carroll Co OH / EN90LN
Thats the first time I have heard a report of an actual encrypted DMR system. No one over here in the UK has come across one yet.

Any idea who the owner of the system is ?

Ian

Chesapeake Energy (think gas exploration / Marcellus Shale / fracking - it's been in the news) has at least four TRBO repeaters up in the Northern Panhandle of West Virginia.

153.455, 153.725, 153.605, 153.215 -- All with Privacy Enabled (according to the DMRDecode logs and my inability to monitor them via DSD).

I don't blame them for having encrypted comms. What they do is fairly controversial these days.

Mike
 

grosminet

Member
Joined
Jan 21, 2004
Messages
318
Reaction score
101
Just one thing I find that with a very strong signal the discriminator output becomes corrupted. Have you tried swtiching in the AR5000's attenuator ? That is the only way I can decode some strong local DMR signals.

Regards

Ian

I have one very strong signal , and many weaks others networks . My AR5000 was the very first series maybe output is corrupted
 
Status
Not open for further replies.
Top