-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
TCPSerial autoReconnect feature mix the ip and port previously entered with last TCP_host and TCP_port saved in Settings #3307
Comments
Another solution would be to use "ConfigRef" like in CommsUdpSerial.cs to save TCP_port and TCP_host in Settings with a name on it, and call it back when needed. In CommsUdpSerial.cs ;
Usage like this :
|
Godeffroy
added a commit
to Godeffroy/MissionPlanner
that referenced
this issue
Mar 19, 2024
Add ConfigRef in TCPSerial to save port and host to Settings with custom name After port is closed, we do not autoReconnect
Godeffroy
added a commit
to Godeffroy/MissionPlanner
that referenced
this issue
Mar 19, 2024
Add ConfigRef in TCPSerial to save port and host to Settings with custom name After port is closed, we do not autoReconnect
Godeffroy
added a commit
to Godeffroy/MissionPlanner
that referenced
this issue
Mar 19, 2024
Add ConfigRef in TCPSerial to save port and host to Settings with custom name After port is closed, we do not autoReconnect
Godeffroy
added a commit
to Godeffroy/MissionPlanner
that referenced
this issue
Mar 19, 2024
Add ConfigRef in TCPSerial to save port and host to Settings with custom name After port is closed, we do not autoReconnect
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue details
I use the SerialOutput NMEA (NMEA) and the Moving Base (MB), each one with TCP Client but different ip and port
At first, i open NMEA connection, i select TCPClient, i enter IP and Port for NMEA and it connect successfully
Then i open and MB connection, i select TCPClient, enter IP and Port for MB and it connect successfully
When the SerialOutput NMEA is disconnected somehow, it use autoReconnect feature and the IP and Port saved in Settings (so the last one written in it, MB in my case) instead of the previous IP and port entered when connecting.
Could we instead save the ip and port localy, not in the Settings and use them to reconnect ?
Or can we save them in the Settings but with different names for different function ? e.g. MovingBase_Tcp_host, SerialOutputNMEA_TCP_host, etc ... ?
Version
Mission Planner 1.3.80
Platform
[ X ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Sub
Logs
Connecting to NMEA :
Connecting to Moving Base :
Log in the console :
The text was updated successfully, but these errors were encountered: