-
Notifications
You must be signed in to change notification settings - Fork 45
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
Fixed encoding of APRS settings #558
Conversation
…s-system-on-opengd77
So I'm on the 554 branch:
I open my yaml, check to make sure the APRS entry looks reasonable and the location is still there on the channel's openGD77 extension. Yes I can have the JO59gw square now. And upload the codeplug to the radio again. But the radio still prompts me with "Location?" when I try to transmit. I even have a couple of "locations" to choose from on the channel settings menu on the radio now: one with APRS-0 destination and no path, to see if that makes a difference. Nope, they both prompt the same way. Maybe you meant the 556 branch, but same result there. Maybe it's because your firmware revision is different than mine? I guess I will buy a MD-UV380 with GPS. I want to try OPNRTX anyway; and not having a GPS and trying to do APRS is anyway only of limited use. Any advice about that? OPNRTX is better than OpenGD77, and works fine with qdmr right? |
I am on this (#554) branch and targeting the 20240908 firmware, as it is the latest stable release. I will certainly not support unstable betas. They change to much. |
20240908 firmware is what I have. So I must be missing something else. Anything looking weird or wrong in my yaml file? |
Your YAML file looks good. Sorry for the many invalid locators. Unfortunately, you may need to delete them by hand. E.g., search-replace with an empty string. The current branch will not decode invalid locations. Those already in the YAML file, however, are written to and read back from the device and will therefore stay. I have to check with my RD5R and compare the behavior with the OpenGD77 CPS. I believe, the OpenGD77 APRS implementation is still a bit buggy and I cannot fix firmware bugs. What I belief:
|
So how do you set the APRS location? It would be more intuitive to put it there in the UI anyway, IMO. But I guess it would just be default location: if there is a GPS and it gets a fix, then that would get replaced with the actual location? |
You can set it in the OpenGD77 extension for the APRS setting element.
Within the radio under "APRS options" you can select the source of the
location. It is either GPS or channel. At least on a UV380.
Shawn Rutledge ***@***.***> schrieb am Fr., 24. Jan. 2025,
10:59:
… Even if you select location: channel in the APRS options, and the selected
APRS settings of the channel contain a fixed location, the APRS location is
used not the one in the channel.
So how do you set the APRS location? It would be more intuitive to put it
there in the UI anyway, IMO. But I guess it would just be default location:
if there is a GPS and it gets a fix, then that would get replaced with the
actual location?
—
Reply to this email directly, view it on GitHub
<#558 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACE6EZIDPX4OWIY6QH2CQT2MIFIXAVCNFSM6AAAAABVYLKSOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJSGEZDAMJSHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
OK I see, finally. I have to Create the opengd77 option before I can change the location there on the APRS entry. And on the radio, I can get to what it thinks is the present location under "Radio info", and type in coordinates on the keypad. So actually it's possible to use this in the field, not only with predefined locations. In qdmr though, I can only enter a grid square, and then the precision is not as good as if I could enter lat/lon coordinates. Then aprs.fi shows me in the forest nearby, rather than actually sitting at home. ;-) Probably you could make it work either way (qdmr could show both lat/lon and grid square, and allow editing either one, maybe in a dialog for that purpose. Maybe even use qtlocation in your dialog to allow picking the location on a map. But it's better to get the Qt 6 porting done before adding that.) So I got the radio to transmit with a location after all, either from the APRS setting or from the manually-entered value. |
The device specific extension are implemented using Qts property system. The serialization/parsing as well as the GUI representation are all derived from these properties. This is needed to avoid a huge amount of code. This, however, limits the freedom on which datatypes are supported. Adding a new one is somewhat complex so I opted for the locator. Being a string made it easy. Internally, however, it is a QGeoCoordinate type. For now, I would suggest to add a few more places for the locator. E.g. 8 or 10 for higher precision |
Also added OpenGD77 extension to APRS settings.