nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
app_module_event.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _APP_MODULE_EVENT_H_
8#define _APP_MODULE_EVENT_H_
9
16#include <app_event_manager.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
61
75
78 struct app_event_header header;
81
82 union {
84 int err;
85 /* Module ID, used when acknowledging shutdown requests. */
86 uint32_t id;
88
89 size_t count;
90
95};
96
99
100#ifdef __cplusplus
101}
102#endif
103
108#endif /* _APP_MODULE_EVENT_H_ */
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
app_module_event_type
Event types submitted by Application module.
Definition app_module_event.h:24
@ APP_EVT_ERROR
Definition app_module_event.h:59
@ APP_EVT_DATA_GET
Definition app_module_event.h:41
@ APP_EVT_LTE_DISCONNECT
Definition app_module_event.h:34
@ APP_EVT_CONFIG_GET
Definition app_module_event.h:49
@ APP_EVT_DATA_GET_ALL
Definition app_module_event.h:46
@ APP_EVT_LTE_CONNECT
Definition app_module_event.h:31
@ APP_EVT_START
Definition app_module_event.h:28
@ APP_EVT_SHUTDOWN_READY
Definition app_module_event.h:54
app_module_data_type
Data types that the application module requests samples for in app_module_event_type APP_EVT_DATA_GET...
Definition app_module_event.h:65
@ APP_DATA_BATTERY
Definition app_module_event.h:70
@ APP_DATA_LOCATION
Definition app_module_event.h:71
@ APP_DATA_MOVEMENT
Definition app_module_event.h:67
@ APP_DATA_ENVIRONMENTAL
Definition app_module_event.h:66
@ APP_DATA_COUNT
Definition app_module_event.h:73
@ APP_DATA_MODEM_DYNAMIC
Definition app_module_event.h:69
@ APP_DATA_MODEM_STATIC
Definition app_module_event.h:68
int timeout
Definition app_module_event.h:94
int err
Definition app_module_event.h:84
enum app_module_data_type data_list[APP_DATA_COUNT]
Definition app_module_event.h:80
enum app_module_event_type type
Definition app_module_event.h:79
uint32_t id
Definition app_module_event.h:86
union app_module_event::@7 data
size_t count
Definition app_module_event.h:89
struct app_event_header header
Definition app_module_event.h:78
Application module event.
Definition app_module_event.h:77