kf7eel / hbnet

HBNet is a fork of HBlink that includes a web GUI, APRS, SMS decoding, and other features.
https://hbnet.xyz
GNU General Public License v3.0
45 stars 23 forks source link

Decode Motorola GPS #7

Open kf7eel opened 3 years ago

kf7eel commented 3 years ago

Decode Motorola LRRP.

w4dbg commented 2 years ago

I don't know how much help I can be on the coding, but what is needed to get Motorola and Kenwood radios working with the GPS/APRS Functions.. That would be a grand slam for a lot of folks that use HBLink... Thanks!

kf7eel commented 2 years ago

When things settle down for me in a few months, I'll be able to start working on this. I will need someone with a Motorola radio willing to connect to my dev server and send LRRP requests. Then I can analyze the data and start to see if I can ACK a request from the radio.

JBM1866 commented 2 years ago

Happy to connect to your instance and send some Packets from my Motorola DP4801

kf7eel commented 2 years ago

Cool, send me an email and I'll show you where to connect. I can log some LRRP requests. Once I get that figured out, the next step will be generating a response from the radio.

kf7eel commented 2 years ago

I have been able to capture some output from a Motorola radio. In order to get LRRP packets, I suspect that the radio has to be "registered" using a Motorola radio data format called ARS (Automatic Registration System). I can now identify a request for what I believe to be registration. I've added a hook in the code for this. I almost have everything needed to create a response, thanks to the code from this project.

What I now need is to see what the response to an ARS registration request looks like.

ghost commented 2 years ago

This may help. Its an ARS and GPS relay server. Used it for years..

https://github.com/KD8EYF/TRBO-NET

kf7eel commented 2 years ago

That has been my primary source for what should be in the response (actual bytes). The problem is that I don't know Perl that well. Do you use this? If so, a few hex dumps are exactly what I need.

ghost commented 2 years ago

I used to about many years back when i first started in DMR. Dont any longer. I actually just stumbled upon HBnet and eagerly awaiting its maturity with a keen interest in the ipsc_to_mmdvm part. ;)

I already have a rock solid system at http://wny-digital.network but would love to see more HB/Motorola DATA pass through and less reliance on BM.

ghost commented 2 years ago

I have motorola radios and repeaters still so I can probably set something up. How do you need the radio setup, HBNet > hotspot > Radio OR HBNet > Repeater> Radio> etc..

ALso for the radio config just enable ARS and GNS without specifying a destination ID?

73 N2CID http://wny-digital.network

kf7eel commented 2 years ago

Thank you for your willingness to help.

Send me an email and I'll fill you in on the specifics of what I need currently.

Thanks :)

kf7eel commented 2 years ago

Made significant progress yesterday. Found a Python3 module that generates IPV4 and UDP packets. I've also figured out how to convert DMR IDs to IP address, which is used with data functions as well. This is incredibly helpful for SMS and ARS responses.

ghost commented 2 years ago

Awesome. Yes DMR IP's are crucial in communication of voice and data. Nice work.