Ensure COM_TYPE_RTCM3 is enabled in RTCM examples

This commit is contained in:
Paul
2022-10-17 09:34:16 +01:00
parent 4fc374a5c9
commit d17a5f9f03
5 changed files with 8 additions and 7 deletions
@@ -78,9 +78,8 @@ void setup()
while (myGNSS.begin() == false) //Connect to the Ublox module using Wire port
{
Serial.println(F("u-blox GPS not detected at default I2C address. Please check wiring. Freezing."));
Serial.println(F("u-blox GPS not detected at default I2C address. Please check wiring."));
delay(2000);
//while (1);
}
Serial.println(F("u-blox module connected"));
@@ -400,4 +399,4 @@ void SFE_UBLOX_GNSS::processNMEA(char incoming)
ggaSentenceStarted = false;
}
}
}
}
@@ -69,8 +69,7 @@ void setup()
lcd.setCursor(0, 1);
lcd.print("GNSS Detected");
//myGNSS.setI2COutput(COM_TYPE_RTCM3); //Set the I2C port to output RTCM3 sentences (turn off NMEA noise)
myGNSS.setI2COutput(COM_TYPE_UBX); //Set the I2C port to output UBX sentences (turn off NMEA noise)
myGNSS.setI2COutput(COM_TYPE_UBX | COM_TYPE_NMEA | COM_TYPE_RTCM3); // Ensure RTCM3 is enabled
myGNSS.saveConfigSelective(VAL_CFG_SUBSEC_IOPORT); //Save the communications port settings to flash and BBR
bool response = true;