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

Add FreeDV Reporter option to have the band filter track the current frequency #534

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

tmiw
Copy link
Collaborator

@tmiw tmiw commented Sep 12, 2023

Resolves #530 by adding a new checkbox in the FreeDV Reporter window to allow the band filter to track the "Report Frequency" field on the main window. Example usage:

Screenshot 2023-09-11 at 11 35 40 PM

@barjac
Copy link

barjac commented Sep 12, 2023

Perfect! Working exactly as I envisaged in Linux with nothing to say other than well done again!!

@tmiw tmiw merged commit f71a976 into master Sep 12, 2023
2 checks passed
@Tyrbiter
Copy link

This latest change appears to have prevented the in app reporter showing anything with either reporting disabled or with the modem not running.

Probably a logic bug with a simple fix I hope.

@tmiw
Copy link
Collaborator Author

tmiw commented Sep 12, 2023

Can you provide a list of steps to run to duplicate?

@Tyrbiter
Copy link

Tyrbiter commented Sep 12, 2023

Previously without the ms-reporter-track-freq changes I could use the in-app reporter with the reporting disabled in Tools->Options and see stations with and without the modem running.

Now I cannot see anything in the reporter window when FreeDV Reporter is disabled, the modem state makes no difference to this.

The new tracking checkbox makes no difference either, everything is blank with the FreeDV Reporter disabled.

@tmiw
Copy link
Collaborator Author

tmiw commented Sep 12, 2023

Previously without the ms-reporter-track-freq changes I could use the in-app reporter with the reporting disabled in Tools->Options and see stations with and without the modem running.

Now I cannot see anything in the reporter window when FreeDV Reporter is disabled, the modem state makes no difference to this.

The current behavior is actually the correct behavior as the server still requires a callsign to log in. The FreeDV application just sends a command immediately after connecting to hide itself from the user listing (and sends another to show itself again once you push Start).

That said, nothing in this PR should have affected that, which is weird. /shrug

@Tyrbiter
Copy link

Tyrbiter commented Sep 12, 2023

OK, well it's definitely not what I had working before. Or at least it seemed that way.

I sometimes want to be able to sit and listen to a QSO without other stations noticing my presence and wanting me to join in, I can't do that any more with this change.

It would be good if you can work out why the logic has changed. Or maybe it hasn't, I've just gone back to a previous build and it doesn't work there either.

I can do what I want using the web reporter, it just goes to show how different people use these facilities in a different way.

@tmiw
Copy link
Collaborator Author

tmiw commented Sep 12, 2023

Yeah, the way it's supposed to work is that you need both "Enable Reporting" and "Enable FreeDV Reporter" checkboxes checked (along with a valid hostname, callsign and grid square/locator) in order for the application to connect to FreeDV Reporter, even when a session isn't running. For instance, something like this:

Screenshot 2023-09-12 at 12 36 32 PM

Once connected, if a session isn't running, the FreeDV application sends a command to the server that basically removes itself from the FreeDV Reporter list. When you push Start, another command gets sent to re-add itself to the list. This prevents people from seeing you unless you have a session running.

Anyway, while testing I found an issue where it was connecting to FreeDV Reporter even with "Enable Reporting" unchecked. This should now be resolved in #535. Having it connect regardless of a valid configuration is going to be a bigger change, especially since the FreeDV Reporter window does have dependencies on having a valid configuration (such as for distance calculation). I'd rather we wait on that until after 1.9.2 if we do decide this is something that's useful.

@Tyrbiter
Copy link

OK, I suspect that this is what I was seeing and somehow the Enable FreeDV Reporter checkbox (which is what I was changing) made a difference, but I think when I rebuilt with the previous change to track the selected band it overrode this.

The new tightening of the conditions to set up reporting properly will have covered over the original hole that I happened to find by accident.

Since I can do what I am asking for using the web reporter I don't see another change request as worth pursuing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to have the internal Reporter band filter track the Reported Frequency.
3 participants