Skip to content
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

YSF support prototype #376

Merged
merged 8 commits into from Jan 12, 2023
Merged

YSF support prototype #376

merged 8 commits into from Jan 12, 2023

Conversation

kk7ds
Copy link
Owner

@kk7ds kk7ds commented Jan 11, 2023

  • Add DN to mode list for Yaesu System Fusion
  • Add DN mode support to FT1, FT2, FT3
  • Make RepeaterBook return YSF (DN mode) repeaters

This allows selecting only FM, DV, DMR, or DN repeaters to be returned
in a RepeaterBook query.

Related to #10242
A certain pattern of selecting and unselecting the band filter would
cause us to apply the filter with it disabled. This fixes that and
rewrites the routine to match the mode filter added previously.
This makes it easy to test for '"foo" in group'.
We need to actually re-fetch the memory from the radio after the
memory properties dialog makes changes. Some settings made in that
dialog could have affected other things, so just taking the result
of the dialog's edits is not good enough.

This also makes us schedule the set_memory() and get_memory() with
do_radio() which should improve things for live radios.
This was only tested on an FT3, so it may not work for the other two,
but since they're nearly identical, I think it should.

The strategy here is that we consider DN the mode, which can either
have AMS enabled or not. By default when DN is selected, AMS is
enabled, but a mem.extra allows turning it off. Selecting FM means
"I want this to be analog-only" the equivalent of FM with AMS disabled
in the radio. We have no way to represent the "FM with AMS" display
that the radio has, as that is based on the state of the last
received transmission and not something in the memory.

Related to #10242
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant