-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPS data and maidenhead implementation #864
base: master
Are you sure you want to change the base?
Conversation
…g, altitude working
…ign data on lat or lon
Great implementation, has much potential for new features. I did implement it on my dev repo, it compiled without any errors and I was able to flash my MD-390/G. Please can anyone else test, building an image with this PR and confirm it with MD-390G? |
I have an early MD380G in VHF, and it's been stable so far. I'll leave it on and keep an eye on it! |
My own branch is ahead the master, but without the new GPS feature it's stable on my MD-390/G UHF. |
Did flash your version, running and waitung until GPS fix. Then connected to USB, starting dmesgtail and pressing RedKey gives GPS Data in hex and decoded correct format. After 3rd GPS frame request (by keypress) the radio is rebooting again. |
I might be reproducing the issue. I just got a freeze, where no controls get a response , display doesn't get an update, and USB with dmesgtail shows no hints or new output (but doesn't die, either). I haven't figured out the pattern yet, but I'm taking notes and trying to recreate whatever happened now. |
Alright, I can consistently get it to crash following this pattern: Edit: It has been crashing with this much simplified procedure: Further edit: |
Sorry, I've been very busy the last weeks. Will start regular work on MD380tools now again, but with very small time budget. Just updating all my repos to make a fresh build including all latest changes. |
@mach327 I'll add your latest GPS code to my dev repo within the next 3-4 days again. Then looking again for the reboot issue. |
I'll go through and test it all again as well, hopefully sometime this week. |
Hello. is there a way to get the Lat/long data to be sent out using the USB port on a Given RX radio ? |
@zero48 If you just want the current position of your radio - essentially a low quality USB GPS - yes, that's part of this pull request. |
Given the age of this PR, I'm guessing APRS functionality anytime soon is pretty much out of the question ? (just researching DMR radios with APRS and so far only coming up with the Anytone 878/BTech 6X2 🤷 Thanks ! -=dave |
Related to #160.
I've been poking at the GPS and playing with a maidenhead square implementation.
GPS data is now easily available, and parsing correctly, but I don't know the signs of lat and lon and the current comments don't match my data, so they are just always positive for now.
Some of the maidenhead functions are just stubs, but a few critical ones (latlon->maidenhead and back) are done and tested.
I have tested on one GPS MD380V for testing the new stuff, and one non-GPS MD380U to make sure the new code doesn't cause build or flashing problems.
This is my first stab at applet code. Does it look alright?