Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
gnss_args.h File Reference

GNSS task arguments. More...

#include <stdint.h>
#include <zephyr/sys/util.h>
#include <infuse/gnss/ubx/cfg.h>

Go to the source code of this file.

Data Structures

struct  task_gnss_args
 GNSS task arguments. More...

Enumerations

enum  { TASK_GNSS_LOG_LLHA = BIT(0) , TASK_GNSS_LOG_FIX_INFO = BIT(1) , TASK_GNSS_LOG_PVT = BIT(7) }
enum  {
  TASK_GNSS_FLAGS_RUN_FOREVER = 0 , TASK_GNSS_FLAGS_RUN_TO_LOCATION_FIX = 1 , TASK_GNSS_FLAGS_RUN_TO_TIME_SYNC = 2 , TASK_GNSS_FLAGS_RUN_MASK = 0x3 ,
  TASK_GNSS_FLAGS_PERFORMANCE_MODE = BIT(7) , TASK_GNSS_FLAGS_LOW_POWER_MODE = 0x00
}

Detailed Description

GNSS task arguments.

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TASK_GNSS_FLAGS_RUN_FOREVER 

Runs until terminated by the scheduler.

TASK_GNSS_FLAGS_RUN_TO_LOCATION_FIX 

Terminates when the location is known to specified accuracy, implies performance mode.

TASK_GNSS_FLAGS_RUN_TO_TIME_SYNC 

Terminates when the time has been synced, implies performance mode.

TASK_GNSS_FLAGS_RUN_MASK 

Bits 1-0: Run until.

TASK_GNSS_FLAGS_PERFORMANCE_MODE 

Bit 7: Performance mode.

TASK_GNSS_FLAGS_LOW_POWER_MODE 

Note that the configured accuracy and position values for this mode do not equate to targeted or expected accuracies.

Instead they specify thresholds for checking whether a fix has been obtained or if the modem should stop and try again later.

◆ anonymous enum

anonymous enum
Enumerator
TASK_GNSS_LOG_LLHA 
TASK_GNSS_LOG_FIX_INFO 
TASK_GNSS_LOG_PVT