Java program to decode DMR

Status
Not open for further replies.

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Reaction score
113
Location
Virginia
Bben95 thanks for the call alert log! Any chance you could do something similar for text messaging? :)

I'll have a go sometime, but I don't think it will be anywhere near as simple. I'm guessing the text messages will be split into multiple packets depending on how long the message is. Does anyone know what encoding they use? Probably ASCII right?
I don't have any keypad and display models yet though, so I'll have to wait until I get one to try this out.
 

SCPD

QRT
Joined
Feb 24, 2001
Messages
0
Reaction score
113
Location
Virginia
Hi Ben



My thanks for this fantastic info. I will add it to build 71 which I hope to release in the next week or two.

Cheers

Ian

Thanks Ian, I look forward to the release, will be excited to test it out.
Does anyone have any links to any good documents about LRRP and the text messaging used my motorola?
 

IanWraith

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

Right I have just added support for the CSBKO=31 and CSBKO=32 Call Alert and Call Alert ACK (which bben95 told us about) to the upcoming build 71 but you can see the source here ..

https://github.com/IanWraith/DMRDecode/commit/31b5632d6427addcb007ef13a093965ed0b914fc

Note the thanks to bben95 and this forum. Anyone who provides info like this will always be credited in the DMRDecode source code. Sharing of information (and providing credit) is the only way we will move forward with this hobby.

I must admit call alert has caused me some grief since it seems to be in a supplemental DMR standard but not the ETSI standard. However bben95s info will soon allow a decode.

Regards

Ian
 

inigo88

California DB Admin
Database Admin
Joined
Oct 31, 2004
Messages
2,041
Reaction score
221
Location
San Diego, CA
I'll have a go sometime, but I don't think it will be anywhere near as simple. I'm guessing the text messages will be split into multiple packets depending on how long the message is. Does anyone know what encoding they use? Probably ASCII right?
I don't have any keypad and display models yet though, so I'll have to wait until I get one to try this out.

Ian can correct me, but I believe some progress was made with figuring out how the text messaging data was split into multiple data packets per the ETSI standard (i.e. "preamble, xx packets to follow" and then "DMR Data packet x of y", etc). I believe where we ran into trouble was when someone provided a sample text message log and it did NOT follow standard ASCII. Since it appears Motorola uses their own custom binary encoding for each character, it might be worth just sending and logging one letter text messages to figure out the binary equivalents of A-Z and 0-9. Might take a long time, but that would be what I'd do if I had a mototrbo radio. :)
 

IanWraith

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

Ian can correct me, but I believe some progress was made with figuring out how the text messaging data was split into multiple data packets per the ETSI standard (i.e. "preamble, xx packets to follow" and then "DMR Data packet x of y", etc). I believe where we ran into trouble was when someone provided a sample text message log and it did NOT follow standard ASCII. Since it appears Motorola uses their own custom binary encoding for each character, it might be worth just sending and logging one letter text messages to figure out the binary equivalents of A-Z and 0-9. Might take a long time, but that would be what I'd do if I had a mototrbo radio. :)

No I could decode the text (which was Unicode encoded) the problem was recognising that a PDU contained that kind of traffic and decoding it as such. I need to get back to working on this problem at some point.

Ian
 

inigo88

California DB Admin
Database Admin
Joined
Oct 31, 2004
Messages
2,041
Reaction score
221
Location
San Diego, CA
Hello All



No I could decode the text (which was Unicode encoded) the problem was recognising that a PDU contained that kind of traffic and decoding it as such. I need to get back to working on this problem at some point.

Ian

Sorry, my mistake! Is there anything the rest of us could help with in that regard?
 

IanWraith

Member
Joined
Sep 29, 2010
Messages
269
Reaction score
0
Location
ianwraith@gmail.com
Hi Folks
Rivet build 71 is out and available for download from the usual place ..

DMRDecode Download

New features are ..

Change so that if a quick log file exists ask the user if they want to overwrite it or append to the existing file.

Change so that if log file exists ask the user if they want to overwrite it or append data to the existing file.

Add support for CSBKO=31 FID=16 (Call Alert) and CSBKO=32 FID=16 (Call Alert Ack) this information kindly provided by bben95.

Decode Tier III Sys_Parms Short LCs

I haven't been able to test this as yet so any reports gladly received.

As usual bug reports and feature requests to this forum please.

Also if you start seeing Sys_Parms Short LCs then congrats you are monitoring a brand new trunked Tier III DMR system. Over time I will add full Tier III support to DMRDecode.

Regards

Ian
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,093
Reaction score
1,409
Location
Ontario, Canada
Is it just me, or does it seem every time Ian says he will have a new version out in a week or so it's usually a day or two haha. Great work as always! I'll give it a spin today hopefully.

Question regarding Tier III..... Capacity Plus would be Tier III, correct?
 

IanWraith

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

I aim to be quick !!

No Tier III isn't Capacity Plus. Tier III is a fully open digital trunking standard using DMR. Its proper trunking as well with control channels and the like - none of this rest channel nonsense :) The aim is that you can have a trunked system with different manufacturers radios operating on it. So far I have only come across one report of a Tier III system in action but I have been told to expect several here in the UK in the first half of this year.

Ian
 

cg

Member
Premium Subscriber
Joined
Dec 13, 2000
Messages
5,205
Reaction score
1,723
Location
Connecticut
I am getting that exact message on a 454MHz system here in Connecticut. I seem to be seeing the site number matching the Color Code on each of the frequencies. I believe it is in error as I don't think they are at different sites (but perhaps they are).
Running 47% bad frames on a very strong local signal on 3 of the 4 frequencies I can pick up.

chris
 

highstupid

Member
Banned
Joined
Aug 31, 2009
Messages
256
Reaction score
3
Location
Wellington County, Ontario
Problem with running

every time i go to run dmrdecode either by clicking on the file or though command prompt, it says that it cant find the main class? Am I missing something?
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,093
Reaction score
1,409
Location
Ontario, Canada
Just with the new version? Did previous versions work OK? Is your Java runtime up to date?
 

Forts

Mentor
Database Admin
Joined
Dec 19, 2002
Messages
7,093
Reaction score
1,409
Location
Ontario, Canada
I haven't seen that one before, but I'm thinking it must be something with your Java install. I would re -install Java 7 and try it again. Or do you have another PC you can try it on?
 
Status
Not open for further replies.
Top