Skip to content

How to get fullyResolved status? #27

Closed
@ZaneL

Description

@ZaneL

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...

uint8_t fullyResolved : 1; // 1 = UTC time of day has been fully resolved (no seconds uncertainty).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions