kevsgithub / HyteraDMRUSB

Reverse Engineering the Hytera DMR USB packet structure.
Creative Commons Zero v1.0 Universal
2 stars 0 forks source link

Hytera SDK #1

Open pierluigipisanti opened 2 years ago

pierluigipisanti commented 2 years ago

Hi, I have sdk from Hytera, and looking someone that can build app like a Dispatcher. IF you are interested let me know.

kevsgithub commented 2 years ago

Hi, I would assume that the Hytera SDK has a Non Disclosure Agreement and therefore we cannot look at it and have to reverse engineer the protocol. I am not the person to build an app like Dispatcher and nor is this project the place for it. It would either have to be a massive open source undertaking or you would have to pay someone to build it for you. In which case you'd be better off paying Hytera.

smarek commented 2 years ago

Might also be talking about these https://radiosoftware.ru/HYTERA/DOCs/ADK/ If has leaked adk docs, nobody is bound by NDA Also having the official documentation (the official way) does not mean you cannot publish opensource, you just have to protect the docs And if @pierluigipisanti wants to show us the docs he has, why not, we can look at it, he's probably bound by NDA, not us

kevsgithub commented 2 years ago

Hi, with @smarek's help we have confirmed it is Hytera's Dmr Application Protocol and his OK-DMR library successfully decodes it. I don't have access to the ADK on that website or ftp so all we can do at this point is to reverse engineer @smarek's library.

smarek commented 2 years ago

Hi @kevsgithub in the meantime @pierluigipisanti provided me with ADK he has, it's older version from 2016/2017, so you can probably ask and get it as well, no type of agreement or protections necessary. We also agreed on starting open-source dispatch application that would support hytera protocols as well as others (for non-homogenous infrastructures), so you'll be welcome to take a part, if you or your collegaues/friends want

smarek commented 2 years ago

@kevsgithub if you want copy of the ADK reach out to me via email, marek.sebera@gmail.com

kevsgithub commented 2 years ago

We also agreed on starting open-source dispatch application that would support hytera protocols as well as others (for non-homogenous infrastructures), so you'll be welcome to take a part, if you or your collegaues/friends want

My long term plan was to just create a mobile SMS and GPS gateway for myself that other people might find useful/adapt, but I'll definitely follow along. Send me a link! My Python is rudimentary and don't think I'll be much help.

smarek commented 2 years ago

Well if you're more skilled in other languages, you can use the dmr-kaitai, it is "Kaitai Struct" first approach to disassemble / parse the protocol, and eg. Hytera TMP is defined here https://github.com/OK-DMR/dmr-kaitai/blob/master/okdmr/kaitai/hytera/text_message_protocol.ksy , you can use Kaitai Struct Compiler to compile data classes in different languages (Java, C#, C++, ...) from the same definition and just use it