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

Automatically detect which of my three rigs is loaded in N1MM+ #8

Open
frazierjason opened this issue Jan 11, 2023 · 1 comment
Open
Labels
unlikely This is a valid issue with a low chance/priority of being addressed

Comments

@frazierjason
Copy link
Owner

frazierjason commented Jan 11, 2023

Is your feature request related to a problem? Please describe.
Some users have more than two radios in their shack, and use several different N1MM+ config files during N1MM+ startup depending on which rig(s) they are using. Some hams might even have a pair of config files that just swap which of their two rigs is the primary and which one is the secondary.

It's inevitable that hams will ask for the plugin to know which rig is the primary and which is the secondary, and show the appropriate customized CAT command buttons for that rig. Or even for operating both rigs near-concurrently, for those ops that have the skills to do it.

But the plugin doesn't currently make custom efforts depending on what rigs are connected. It just sends verbatim CAT commands from the buttons. Can't the plugin keep track of this, and swap in the right command/pages to match?

Describe the solution you'd like
See above

Describe alternatives you've considered
I thought about having several custom pages, one for each rig combination I use, but it gets too hard to keep track myself and change out the buttons I use to get to those custom pages.

I also considered just using a single action text that combines CAT1HEX and CAT2HEX commands, so that one button sends both and N1MM+ figures out which to use based on the active rig. This works, but the commands are just so long to read, and it's hard to recreate these in all the Rig1 and Rig2 combinations that I want to achieve.

Additional context
N/A

@frazierjason
Copy link
Owner Author

frazierjason commented Jan 11, 2023

I wrote this ticket to ponder how it can be solved. There are a few factors to consider:

  • N1MM+ does send the rig model in RadioInfo messages
  • Looking in from the other end, TouchPortal would need to permit the plugin to dynamically swap out which of a variety of custom pages are linked from the main page, and the plugin would have to track which of all those pages match the current rig, or pair of rigs, or which of the two rigs is active. This is a lot of fragile state work. It's possible, but maybe not plausible. We'll see in the future.

@frazierjason frazierjason added the unlikely This is a valid issue with a low chance/priority of being addressed label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unlikely This is a valid issue with a low chance/priority of being addressed
Projects
None yet
Development

No branches or pull requests

1 participant