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

Make Connecting Smarter #1034

Open
ES-Alexander opened this issue Jan 17, 2022 · 4 comments
Open

Make Connecting Smarter #1034

ES-Alexander opened this issue Jan 17, 2022 · 4 comments
Labels
enhance nice-to-have Something that might be good but not necessary

Comments

@ES-Alexander
Copy link
Contributor

Summary

  • Auto-connection could by default connect to the last successful connection, instead of starting in search mode by default
  • Manual connection could provide better default ports when selecting Ping1D (9090) or Ping360 (9092) device types. Custom/dev IP and port should be available, but shouldn't come before defaults for standard users.

Additional information

If user changed the IP subnet last time they used Ping Viewer, they quite likely want to keep that subnet next time. (I'm a bit confused here, I thought Ping Viewer searched for devices on the current computer's subnet rather than a hardcoded one, but maybe not - may need confirmation)

Current manual connection default configuration is set to 192.168.2.2:1234, which is the default Companion IP (reasonable expectation) and the dev port (less desirable). Current implementation uses the same Entry widget, and hence same value regardless of device type, but ideally specifying a different device type would also change the default connection info, since different devices have different default ports.

Relevant forum comment:
You could do a dropdown list on the port section: Ping1D (9090), Ping360 (9092), Custom.
I don’t know how many of us change the IP address of the ROV but even if the PingView does not check the local address mask (in my example 192.168.4.x), it would be great if it instead of always starting in search mode, connects to the last successful connection.
-Grega (@tunadiver)

@ES-Alexander ES-Alexander added nice-to-have Something that might be good but not necessary enhance labels Jan 17, 2022
@patrickelectric
Copy link
Member

@ES-Alexander I'm not sure if I follow correctly, ping-viewer saves all previous manual connections to run on the search loop.
Or: If a user add a manual connection and close ping-viewer, the next time ping-viewer will use the previous manual connection configuration on the search loop and it should appears as a valid result.

@ES-Alexander
Copy link
Contributor Author

@patrickelectric

ping-viewer saves all previous manual connections to run on the search loop.

Are you saying that already happens, or asking if that's the desired behaviour? If it doesn't already happen, that's the desired behaviour. The second option doesn't make much sense (to me at least) - you can't pretend something is a valid result if it's actually not, right?

@patrickelectric
Copy link
Member

That already happend, it also saves the previous connection to try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhance nice-to-have Something that might be good but not necessary
Projects
None yet
Development

No branches or pull requests

2 participants