nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
sensor_data_aggregator_event.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _AGGREGATOR_EVENT_H_
8#define _AGGREGATOR_EVENT_H_
9
17#include <app_event_manager.h>
19#include "sensor_event.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
28 struct app_event_header header;
29 const char *sensor_descr;
30 struct sensor_value *samples;
32 uint8_t sample_cnt;
34};
35
41 struct app_event_header header;
42 struct sensor_value *samples;
43 const char *sensor_descr;
44};
45
48
49#ifdef __cplusplus
50}
51#endif
52
57#endif /* _AGGREGATOR_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
sensor_state
Sensor states.
Definition sensor_event.h:28
struct app_event_header header
Definition sensor_data_aggregator_event.h:28
enum sensor_state sensor_state
Definition sensor_data_aggregator_event.h:31
uint8_t values_in_sample
Definition sensor_data_aggregator_event.h:33
uint8_t sample_cnt
Definition sensor_data_aggregator_event.h:32
struct sensor_value * samples
Definition sensor_data_aggregator_event.h:30
const char * sensor_descr
Definition sensor_data_aggregator_event.h:29
Sensor data aggregator event.
Definition sensor_data_aggregator_event.h:27
struct app_event_header header
Definition sensor_data_aggregator_event.h:41
const char * sensor_descr
Definition sensor_data_aggregator_event.h:43
struct sensor_value * samples
Definition sensor_data_aggregator_event.h:42
Sensor data aggregator release buffer event.
Definition sensor_data_aggregator_event.h:40