7#ifndef _LOCATION_MODULE_EVENT_H_
8#define _LOCATION_MODULE_EVENT_H_
16#include <nrf_modem_gnss.h>
19#if defined(CONFIG_NRF_CLOUD_PGPS)
135#if defined(CONFIG_LOCATION_METHOD_WIFI)
139 struct wifi_scan_result
ap_info[CONFIG_LOCATION_METHOD_WIFI_SCANNING_RESULTS_MAX_CNT];
155#if defined(CONFIG_LOCATION_METHOD_WIFI)
196 struct nrf_modem_gnss_agnss_data_frame agnss_request;
197#if defined(CONFIG_NRF_CLOUD_PGPS)
Application Event Manager header.
Application Event Manager profiler tracer header.
#define APP_EVENT_TYPE_DECLARE(ename)
Declare an event type.
Definition app_event_manager.h:143
location_module_event_type
Location event types submitted by location module.
Definition location_module_event.h:30
@ LOCATION_MODULE_EVT_ACTIVE
Definition location_module_event.h:60
@ LOCATION_MODULE_EVT_SHUTDOWN_READY
Definition location_module_event.h:72
@ LOCATION_MODULE_EVT_INACTIVE
Definition location_module_event.h:65
@ LOCATION_MODULE_EVT_DATA_NOT_READY
Definition location_module_event.h:42
@ LOCATION_MODULE_EVT_TIMEOUT
Definition location_module_event.h:57
@ LOCATION_MODULE_EVT_ERROR_CODE
Definition location_module_event.h:92
@ LOCATION_MODULE_EVT_AGNSS_NEEDED
Definition location_module_event.h:79
@ LOCATION_MODULE_EVT_PGPS_NEEDED
Definition location_module_event.h:85
@ LOCATION_MODULE_EVT_GNSS_DATA_READY
Definition location_module_event.h:36
@ LOCATION_MODULE_EVT_CLOUD_LOCATION_DATA_READY
Definition location_module_event.h:49
Module to provide nRF Cloud Predicted GPS (P-GPS) support to nRF9160 SiP.
P-GPS request type.
Definition nrf_cloud_pgps.h:83
bool neighbor_cells_valid
Definition location_module_event.h:152
struct location_module_neighbor_cells neighbor_cells
Definition location_module_event.h:154
bool wifi_access_points_valid
Definition location_module_event.h:157
int64_t timestamp
Definition location_module_event.h:162
struct location_module_wifi_access_points wifi_access_points
Definition location_module_event.h:159
Location module data for associated payload for event of LOCATION_MODULE_EVT_CLOUD_LOCATION_DATA_READ...
Definition location_module_event.h:150
struct location_module_pvt pvt
Definition location_module_event.h:170
uint32_t search_time
Definition location_module_event.h:176
uint8_t satellites_tracked
Definition location_module_event.h:173
int64_t timestamp
Definition location_module_event.h:179
Location module data for associated payload for events of LOCATION_MODULE_EVT_TIMEOUT and LOCATION_MO...
Definition location_module_event.h:168
enum location_module_event_type type
Definition location_module_event.h:187
int err
Definition location_module_event.h:204
struct app_event_header header
Definition location_module_event.h:185
union location_module_event::@11 data
uint32_t id
Definition location_module_event.h:202
Location module event.
Definition location_module_event.h:183
int64_t timestamp
Definition location_module_event.h:132
struct lte_lc_ncell neighbor_cells[CONFIG_LTE_NEIGHBOR_CELLS_MAX]
Definition location_module_event.h:130
struct lte_lc_cells_info cell_data
Definition location_module_event.h:128
Location module data for neighbor cells.
Definition location_module_event.h:126
float altitude_accuracy
Definition location_module_event.h:110
double latitude
Definition location_module_event.h:98
float altitude
Definition location_module_event.h:107
float heading
Definition location_module_event.h:119
float heading_accuracy
Definition location_module_event.h:122
float speed
Definition location_module_event.h:113
double longitude
Definition location_module_event.h:101
float accuracy
Definition location_module_event.h:104
float speed_accuracy
Definition location_module_event.h:116
Position, velocity and time (PVT) data.
Definition location_module_event.h:96
uint16_t cnt
Definition location_module_event.h:141
struct wifi_scan_result ap_info[CONFIG_LOCATION_METHOD_WIFI_SCANNING_RESULTS_MAX_CNT]
Definition location_module_event.h:139
int64_t timestamp
Definition location_module_event.h:143
Location module data for Wi-Fi access points.
Definition location_module_event.h:137