nRF Connect SDK API 2.8.99
|
#include <location.h>
Data Fields | |
int32_t | timeout |
Timeout (in milliseconds), meaning how long GNSS is allowed to run when trying to acquire a fix. SYS_FOREVER_MS means that the timer is disabled, meaning that GNSS will continue to search until it gets a fix or the application calls cancel. | |
enum location_accuracy | accuracy |
Desired accuracy level. | |
uint8_t | num_consecutive_fixes |
The number of fixes GNSS is allowed to produce before the library outputs the current location when accuracy is set to LOCATION_ACCURACY_HIGH. | |
bool | visibility_detection |
Obstructed visibility detection. If set to true, the library tries to detect situations where getting a GNSS fix is unlikely or would consume a lot of energy. When such a situation is detected, GNSS is stopped without waiting for a fix or a timeout. | |
bool | priority_mode |
Enable GNSS priority mode if GNSS does not get enough runtime due to LTE idle mode operations. | |
GNSS configuration.