nRF Connect SDK API 2.8.99
|
#include <applications/asset_tracker_v2/src/events/location_module_event.h>
Location event types submitted by location module.
Enumerator | |
---|---|
LOCATION_MODULE_EVT_GNSS_DATA_READY | A valid GNSS location has been obtained and the data is ready to be used. The event has associated payload of the type location_module_data in the event struct member |
LOCATION_MODULE_EVT_DATA_NOT_READY | Location could not be obtained and will not be ready for this sampling interval. The event has no associated payload. |
LOCATION_MODULE_EVT_CLOUD_LOCATION_DATA_READY | Neighbor cell measurements and/or Wi-Fi access point information have been gathered and the data is ready. The event has associated payload of type location_module_cloud_location in the |
LOCATION_MODULE_EVT_TIMEOUT | The location search timed out without acquiring location. The event has associated payload of the type |
LOCATION_MODULE_EVT_ACTIVE | An active location search has started. |
LOCATION_MODULE_EVT_INACTIVE | A location search has stopped, either as a result of timeout, error or acquired location. |
LOCATION_MODULE_EVT_SHUTDOWN_READY | The module has been shut down gracefully. The event has associated payload of the type |
LOCATION_MODULE_EVT_AGNSS_NEEDED | The location library has reported that it needs GPS assistance data. The event has associated payload of the type |
LOCATION_MODULE_EVT_PGPS_NEEDED | The location library has reported that it needs GPS prediction data. The event has associated payload of the type |
LOCATION_MODULE_EVT_ERROR_CODE | An error has occurred, and data may have been lost. The event has associated payload of the type |