This is heavily modified example NTRIP Server from SparkFun GNSS Library V2.0, u-Blox F9P section. It presents itself as "NTRIP SparkFun_RTK_Surveyor-SG" on the "agents" page: http://rtk2go.com:2101/SNIP::N-AGENT
The idea is to:
- let the station work hands-free forever
- without USB connection to laptop
- handle power outages, restore to normal operation
- handle network and Caster glitches
- avoid being banned by Caster for idle or numerous connections
- provide ample visual indication about the station's status
This code is free (as free beer) - no guarantees or liability of any kind. See MIT license below. Use at your own risk. Send your suggestions to [email protected] - beer accepted at https://www.paypal.com/paypalme/vitalbytes
Please support SparkFun.com - buy their awesome products! My pair of F9P breakboards works flawlessly and were easy to set up.
The code compiles under Arduino IDE with ESP32 additions. My station uses NodeMCU-32S, there are better more recent options - they should work fine, although pinout may be slightly different. Schematics is in the Media folder, with photos of my very DIY unit. If you don't have NeoPixels - no worries, LCD shows all you need.
Please don't forget to set YOUR base station coordinates, see GNSS.ino tab around line 120
See "secrets.h" tab for credentials; set yours - for your WiFi network and the Caster
RTK2GO.com requires you to register as a base station data provider, it is easy and they respond within several hours.
Thank you for your interest, -- Sergei Grichine