nRF Connect SDK API 2.8.99
|
#include <applications/asset_tracker_v2/src/events/app_module_event.h>
Event types submitted by Application module.
Enumerator | |
---|---|
APP_EVT_START | Signal that the application has done necessary setup, and now started. |
APP_EVT_LTE_CONNECT | Connect to LTE network. |
APP_EVT_LTE_DISCONNECT | Disconnect from LTE network. |
APP_EVT_DATA_GET | Signal other modules to start sampling and report the data when it is ready. The event must also contain a list with requested data types, app_module_data_type. |
APP_EVT_DATA_GET_ALL | Create a list with all available sensor types in the system and distribute it as an APP_EVT_DATA_GET event. |
APP_EVT_CONFIG_GET | Request latest configuration from the cloud. |
APP_EVT_SHUTDOWN_READY | The application module has performed all procedures to prepare for a shutdown of the system. |
APP_EVT_ERROR | An irrecoverable error has occurred in the application module. Error details are attached in the event structure. |