-
Notifications
You must be signed in to change notification settings - Fork 23
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
NTRIP Connection dropped #43
Comments
Here is the redacted serial print out Connecting to local WiFi. Connected to: rtk2go.com |
Things a far more stable (but not completely stable) if I delete the line: myGNSS.setNMEAGPGGAcallbackPtr(&pushGPGGA); If I add this line the connection always drops after two pushes of data to the receiver. |
Hi Andrew (@rekabuk ), Can you please enable "Show Timestamp" in the Serial Monitor and run it again. I'd like to see the timing of the disconnect. Which version of the Espressif arduino-esp32 board package are you using? Which board do you selected? I wonder if the Serial baud rate is causing issues. Are you able to try I2C instead? Or can you increase the GNSS UART baud rate to (at least) 115200 baud? Try Cheers, |
Using I2C would be a pain, but I can certainly try a faster baud rate to the receiver. |
That was a bit more of a struggle than it should have been, but I ended up with the GNSS UART running at 230400 and the Example seems to be running without dropping the NTRIP connection. Thank-you @PaulZC :-) |
Cheers Andrew, |
Subject of the issue
Using the SparkFun "NTRIPClient_With_CGA_Callback_Serial" example code I can successfully open a connection to the rtk2go base station, but after about ~4 times round the main loop(), the connection is dropped - how can I determine why it was dropped and how do I stop it being dropped?
Your workbench
Steps to reproduce
I just substituted my parameters into your example code, the only change I made was some debug to determine if "keypressed()" or "processConnection()" was causing the connection to be 'closed' - it is processConnection()
Expected behavior
Code should not drop the connection to the rtk2go NTRIP server
Actual behavior
The connection is "dropped"
The text was updated successfully, but these errors were encountered: