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

Reference Station Casting-->Xmitting - failure to reconnect to caster on Ethernet #775

Closed
PaulZC opened this issue Jun 10, 2024 · 3 comments

Comments

@PaulZC
Copy link
Contributor

PaulZC commented Jun 10, 2024

Details are in this forum post: https://forum.sparkfun.com/viewtopic.php?p=249857#p249857

I am using Firmware 4.0, HPG 1.32, and ethernet connection to the router:

I have been having an issue with my station stopping casting to the RTK2Go.
Sometimes if I push the button on the front of the station and select Base again (from Base) it starts casting again, sometimes it needs a restart.

I do know that I have power outage quite often so both the station and internet go down and I am guessing it might be this but should it not recover again when the power/internet come back?

Does it give up trying to cast if the internet goes down for a while (several hours)?

Possibly related to #768

@PaulZC
Copy link
Contributor Author

PaulZC commented Jun 10, 2024

Tests:

  • Reference Station running firmware v4.0:
    • Provide NTRIP (RTK2go) credentials
    • Connect Ethernet to WLAN
    • Enable network layer, NTRIP Server, Ethernet debug messages
    • Start Ref. Stn. in Fixed Base mode
    • Check Ref. Stn. sends data to RTK2go
    • Disconnect Ethernet at Ref. Stn. port; wait 1 min; reconnect; check NTRIP server restarts sending data to RTK2go
    • Disconnect Ethernet switch from WLAN router; wait 1 min; reconnect; check NTRIP server restarts sending data to RTK2go
    • Power off Ref. Stn.; disconnect Ethernet at Ref. Stn. port; power on Ref. Stn.; wait 1 min; connect Ethernet; check NTRIP server starts sending data to RTK2go
    • Power off Ref. Stn.; disconnect Ethernet switch from WLAN router; power on Ref. Stn.; wait 1 min; connect Ethernet; check NTRIP server starts sending data to RTK2go
  • Repeat with latest release_candidate - as I suspect the latest ntripServerRestart -> ntripServerStop changes will help here
  • If necessary, repeat above but wait 1 hour before reconnecting Ethernet

@PaulZC
Copy link
Contributor Author

PaulZC commented Jun 10, 2024

Hi Stephen,

So far, I can't replicate your issue...

The RTK Firmware will "give up" trying to connect to an NTRIP Server - but only after ~24 hours. If Ethernet comes back on line before then, it should reconnect.

While I was testing, I did notice that startFixedBase would occasionally fail on reset, and the firmware would revert to Rover mode. I've added a retry mechanism, so it will now try up to three times to startFixedBase before it gives up and goes into Rover mode. This will be in the next release.

If you need more help / advice, please reply here - or back on the SparkFun Forum.

Best wishes,
Paul

@PaulZC
Copy link
Contributor Author

PaulZC commented Jun 13, 2024

Hi Stephen,

We have a new Release Candidate firmware binary available: https://github.com/sparkfun/SparkFun_RTK_Firmware_Binaries/blob/main/RTK_Surveyor_Firmware_RC-Jun_10_2024.bin

Please give it a try. It now supports two NTRIP Servers and has other improvements which may help with your connection issue.

Best wishes,
Paul

@PaulZC PaulZC closed this as completed Jun 13, 2024
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

No branches or pull requests

1 participant