nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ location_event_id

#include <include/modem/location.h>

Event IDs.

Enumerator
LOCATION_EVT_LOCATION 

Location update.

LOCATION_EVT_TIMEOUT 

Getting location timed out.

LOCATION_EVT_ERROR 

An error occurred when trying to get the location.

LOCATION_EVT_RESULT_UNKNOWN 

Application has indicated that getting location has been completed, the result is not known, and the Location library does not need to care about it.

This event can occur only if

embed:rst:inline :kconfig:option:`CONFIG_LOCATION_SERVICE_EXTERNAL` 

is set.

LOCATION_EVT_GNSS_ASSISTANCE_REQUEST 

GNSS is requesting A-GNSS data.

Application should obtain the data and send it to location_agnss_data_process().

LOCATION_EVT_GNSS_PREDICTION_REQUEST 

GNSS is requesting P-GPS data.

Application should obtain the data and send it to location_pgps_data_process().

LOCATION_EVT_CLOUD_LOCATION_EXT_REQUEST 

Cloud location request with neighbor cell and/or Wi-Fi access point information is available.

The application should send the information to cloud services and then call location_cloud_location_ext_result_set().

LOCATION_EVT_STARTED 

Location request has been started.

This event is only sent if

embed:rst:inline :kconfig:option:`CONFIG_LOCATION_DATA_DETAILS` 

is set.

LOCATION_EVT_FALLBACK 

A fallback from one method to another has occurred, and the positioning procedure continues.

This event is only sent if

embed:rst:inline :kconfig:option:`CONFIG_LOCATION_DATA_DETAILS` 

is set and location_config::mode is LOCATION_REQ_MODE_FALLBACK.