Hi @Wocky1 ,
Thanks!
The links in that tutorial are a little out of date. They are pointing at v2 of the SparkFun u-blox GNSS library. For the ZED-F9P, I’d recommend using v3 of the library.
Example 14 (NTRIP Server) is here.
Migration instructions are here.
Disconnecting the USB cable causes a reset via the CH340 interface chip, causing the code to restart.
To make the code start serving immediately, you can add a static
first-time flag, like this:
void loop()
{
static bool firstTime = true;
if (firstTime || Serial.available())
{
beginServing();
firstTime = false;
}
Serial.println(F("Press any key to start serving"));
delay(1000);
}
I hope this helps,
Paul