nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
data_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 _DATA_MODULE_EVENT_H_
8#define _DATA_MODULE_EVENT_H_
9
16#include <app_event_manager.h>
19
20#if defined(CONFIG_LWM2M)
21#include <zephyr/net/lwm2m.h>
22#else
24#endif
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
117
120 char *buf;
121 size_t len;
123 struct lwm2m_obj_path paths[CONFIG_CLOUD_CODEC_LWM2M_PATH_LIST_ENTRIES_MAX];
125};
126
130 struct app_event_header header;
133
134 union {
140 uint32_t id;
142 int err;
144};
145
147
148#ifdef __cplusplus
149}
150#endif
151
156#endif /* _DATA_MODULE_EVENT_H_ */
Application Event Manager header.
Application Event Manager profiler tracer header.
static const struct event_proxy_config cfg
Definition event_proxy_def.h:28
#define APP_EVENT_TYPE_DECLARE(ename)
Declare an event type.
Definition app_event_manager.h:143
data_module_event_type
Data event types submitted by Data module.
Definition data_module_event.h:31
@ DATA_EVT_ERROR
Definition data_module_event.h:115
@ DATA_EVT_CONFIG_SEND
Definition data_module_event.h:99
@ DATA_EVT_IMPACT_DATA_SEND
Definition data_module_event.h:69
@ DATA_EVT_CONFIG_GET
Definition data_module_event.h:102
@ DATA_EVT_DATE_TIME_OBTAINED
Definition data_module_event.h:105
@ DATA_EVT_CLOUD_LOCATION_DATA_SEND
Definition data_module_event.h:78
@ DATA_EVT_SHUTDOWN_READY
Definition data_module_event.h:110
@ DATA_EVT_DATA_SEND_BATCH
Definition data_module_event.h:51
@ DATA_EVT_IMPACT_DATA_READY
Definition data_module_event.h:66
@ DATA_EVT_DATA_READY
Definition data_module_event.h:33
@ DATA_EVT_UI_DATA_SEND
Definition data_module_event.h:60
@ DATA_EVT_CONFIG_INIT
Definition data_module_event.h:84
@ DATA_EVT_CONFIG_READY
Definition data_module_event.h:90
@ DATA_EVT_UI_DATA_READY
Definition data_module_event.h:63
@ DATA_EVT_DATA_SEND
Definition data_module_event.h:42
Definition cloud_codec.h:103
char * buf
Definition data_module_event.h:120
uint8_t valid_object_paths
Definition data_module_event.h:124
size_t len
Definition data_module_event.h:121
struct lwm2m_obj_path paths[CONFIG_CLOUD_CODEC_LWM2M_PATH_LIST_ENTRIES_MAX]
Definition data_module_event.h:123
Structure that contains a pointer to encoded data.
Definition data_module_event.h:119
uint32_t id
Definition data_module_event.h:140
enum data_module_event_type type
Definition data_module_event.h:132
struct app_event_header header
Definition data_module_event.h:130
int err
Definition data_module_event.h:142
union data_module_event::@9 data
Data module event.
Definition data_module_event.h:128
Definition lwm2m_dummy.h:10