|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
GNSS task arguments. More...
#include <gnss_args.h>
Data Fields | |
| uint8_t | constellations |
| Constellations GNSS_SYSTEM_* (0 == receiver default) | |
| uint8_t | flags |
| Operational flags. | |
| uint16_t | accuracy_m |
| Accuracy (meters) | |
| uint16_t | position_dop |
| Diluation of precision (0.1) | |
| union { | |
| struct { | |
| uint8_t any_fix_timeout | |
| Terminate fix if this duration passes without any location information. More... | |
| struct task_gnss_plateau_args { | |
| uint8_t min_accuracy_m | |
| Plateau detection only enabled once accuracy reaches this level. More... | |
| uint8_t min_accuracy_improvement_m | |
| Location accuracy must improve by at least this many meters. More... | |
| uint8_t timeout | |
| Timeout for accuracy to improve by min_accuracy_improvement. More... | |
| } fix_plateau | |
| } run_to_fix | |
| TASK_GNSS_FLAGS_RUN_TO_LOCATION_FIX specific arguments More... | |
| struct { | |
| uint16_t acquisition_timeout | |
| Duration to search for any GNSS signals (0 == no timeout) More... | |
| uint16_t search_period | |
| Period between acquisition searches on timeout. More... | |
| } low_power | |
| TASK_GNSS_FLAGS_LOW_POWER_MODE specific arguments More... | |
| }; | |
| uint8_t | dynamic_model |
| Dynamic model from ubx_cfg_key_navspg_dynmodel. | |
GNSS task arguments.
| union { ... } task_gnss_args |
| uint16_t task_gnss_args::accuracy_m |
Accuracy (meters)
For Microntroller based checks (TASK_GNSS_FLAGS_RUN_TO_LOCATION_FIX) this is the horizontal accuracy. For GNSS modem implemented functionality, this may be 3D accuracy.
In TASK_GNSS_FLAGS_LOW_POWER_MODE, sets accuracy to transition to low power mode. In TASK_GNSS_FLAGS_RUN_TO_LOCATION_FIX, sets accuracy to terminate at.
| uint16_t task_gnss_args::acquisition_timeout |
Duration to search for any GNSS signals (0 == no timeout)
| uint8_t task_gnss_args::any_fix_timeout |
Terminate fix if this duration passes without any location information.
| uint8_t task_gnss_args::constellations |
Constellations GNSS_SYSTEM_* (0 == receiver default)
| uint8_t task_gnss_args::dynamic_model |
Dynamic model from ubx_cfg_key_navspg_dynmodel.
| struct { ... } ::task_gnss_plateau_args task_gnss_args::fix_plateau |
| uint8_t task_gnss_args::flags |
Operational flags.
| struct { ... } task_gnss_args::low_power |
TASK_GNSS_FLAGS_LOW_POWER_MODE specific arguments
| uint8_t task_gnss_args::min_accuracy_improvement_m |
Location accuracy must improve by at least this many meters.
| uint8_t task_gnss_args::min_accuracy_m |
Plateau detection only enabled once accuracy reaches this level.
| uint16_t task_gnss_args::position_dop |
Diluation of precision (0.1)
For Microntroller based checks (TASK_GNSS_FLAGS_RUN_TO_LOCATION_FIX) this is the horizontal DOP. For GNSS modem implemented functionality, this may be 3D DOP.
In TASK_GNSS_FLAGS_LOW_POWER_MODE, sets accuracy to transition to low power mode. In TASK_GNSS_FLAGS_RUN_TO_LOCATION_FIX, sets PDOP to terminate at.
| struct { ... } task_gnss_args::run_to_fix |
TASK_GNSS_FLAGS_RUN_TO_LOCATION_FIX specific arguments
| uint16_t task_gnss_args::search_period |
Period between acquisition searches on timeout.
| uint8_t task_gnss_args::timeout |
Timeout for accuracy to improve by min_accuracy_improvement.