philpem / hylink

Python library to access Hytera DMR repeaters through the ADK Dispatcher interface
GNU Lesser General Public License v3.0
5 stars 2 forks source link

RRS: Implement RRS functionality #3

Open philpem opened 5 years ago

philpem commented 5 years ago

It would be useful to have support for the Radio Registration Service in Hylink.

This requires setting up a radio with RRS, finding some dispatch software which implements the protocol and black-boxing it.

As a minimum the format of the RRS request/reply packets needs to be figured out.

smarek commented 4 years ago

protocol is described here https://github.com/smarek/Hytera_Homebrew_Bridge/blob/master/kaitai/radio_registration_service.ksy and parser based on kaitai is generated here https://github.com/smarek/Hytera_Homebrew_Bridge/blob/master/kaitai/radio_registration_service.py

philpem commented 4 years ago

Wow, thank you @smarek - and thanks for your other comments too. This is really useful information! And the Kaitai format is really easy to read too, I figured it out without reading any of the documentation.

Did you reverse-engineer the protocol yourself, or did Hytera provide you with the ADK?

smarek commented 4 years ago

I've found ADK documentation lying on the baidu shared drives, anyway, if you're up for some fun, I'd really appreciated test data, parser works on binary packets, which I have started putting here: https://github.com/smarek/Hytera_Homebrew_Bridge/tree/master/tests/data And I need a lot more, to verify that the parser works as expected and under all conditions. Would you be willing to contribute ?

philpem commented 4 years ago

Absolutely. If you can let me know what you need, I can fire up an RD985 and some radios and get some Pcap dumps for you.

Please feel free to drop me an email about that, philpem@gmail.com.