Closed
Description
Hello,
I want to emulate the behavior of this library:
https://github.com/GrumpyOldPizza/ArduinoCore-stm32l0/blob/master/libraries/GNSS
Specifically, the code that looks like this:
if ((myLocation.fixType() == GNSSLocation::TYPE_3D) && (myLocation.ehpe() <= 30.0) && myLocation.fullyResolved())
{
// suspend GPS
}
Using your library, I guess this would look something like the following?
if ( (myGNSS.getFixType() == 3) && (myGNSS.getHorizontalAccEst() <= 30000) && fullyResolvedFlagCheck )
{
myGNSS.powerOff(0);
}
I can see the flag here, but I'm not really sure if there is a good way to query it...
Metadata
Metadata
Assignees
Labels
No labels