Closed
Description
Hey,
I got an m8p connected to an ESP32 via I2C.
In the old library, parsing nmea messages in combination with the micronmea lib worked fine.
However, at the moment I do not get new (valid) nmea sentences frequently. (sometimes even more secounds without any new sentence)
I got setNavigationFrequency to 10, disabled all messages except GGA, setI2CTransactionSize to 128 and call checkUblox frequently.
Then I process new nmea sentences like this:
void SFE_UBLOX_GNSS::processNMEA(char incoming)
{
if(nmea.process(incoming) == true) { //new full sentence
const char* sentence = nmea.getSentence();
if(nmea.isValid() == true){
//do something
}
else{
// here sometimes like this: $GNGGA,114346.50,4703.5545385,N,01527.5036357,E,2,07,1.27,405.326,M,42.403,M,0.5,4$GNGGA,114347.00,4703.5546372,N,01527.5036167
}
}
}
I am also using pushRawData to feed rtcm corrections received to the the ublox chip .
I expect new new sentences at 10Hz. Any idea where the problem could be ?
Cheers Marco.