g4klx / DMRGateway

A multi-network DMR gateway for the MMDVM.
GNU General Public License v2.0
141 stars 91 forks source link

How to be good client to DMRGateway #99

Open smarek opened 3 years ago

smarek commented 3 years ago

Hi, I've developed Hytera_Homebrew_Bridge against fairly old version of DMRGateway, where it supported full MMDVM protocol (including login, keepalive, etc.), specifically when I test current version of HHBridge (2020.3) against DMRGateway (b4b9860ad9d4ff917ea5d378e458636178d1e5c5 from 2017/10/6) it works perfectly

However trying to use against current version (HEAD, aff04fd6b17a7a187f0844213f131cc234f04cd3 ) those commands are not recognized and the connection is not established right away, as I would expect

This is probably due to changes in simplifying protocol between MMDVMHost and DMRGateway (b344248e0a5e736c0d21e39dce71e24f8edf3d5a) from Aug 2020

Also DMRC is currently very different from standard MMDVM RPTC

If I understand correctly, there is undocumented DMRGateway protocol currently, which is the only one supported? If so, I can easily reverse the protocol from DMRGatewayNetwork.cpp and support that If not, please let me know what I missed and how to be a good client to DMRGateway in current and upcoming versions

Thank you