7#ifndef _SENSOR_MODULE_EVENT_H_
8#define _SENSOR_MODULE_EVENT_H_
23#define ACCELEROMETER_AXIS_COUNT 3
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_module_event_type
Sensor event types submitted by the Sensor module.
Definition sensor_module_event.h:26
@ SENSOR_EVT_MOVEMENT_INACTIVITY_DETECTED
Definition sensor_module_event.h:35
@ SENSOR_EVT_ERROR
Definition sensor_module_event.h:66
@ SENSOR_EVT_MOVEMENT_IMPACT_DETECTED
Definition sensor_module_event.h:40
@ SENSOR_EVT_SHUTDOWN_READY
Definition sensor_module_event.h:61
@ SENSOR_EVT_FUEL_GAUGE_NOT_SUPPORTED
Definition sensor_module_event.h:56
@ SENSOR_EVT_ENVIRONMENTAL_NOT_SUPPORTED
Definition sensor_module_event.h:48
@ SENSOR_EVT_FUEL_GAUGE_READY
Definition sensor_module_event.h:53
@ SENSOR_EVT_ENVIRONMENTAL_DATA_READY
Definition sensor_module_event.h:45
@ SENSOR_EVT_MOVEMENT_ACTIVITY_DETECTED
Definition sensor_module_event.h:30
#define ACCELEROMETER_AXIS_COUNT
Definition sensor_module_event.h:23
double values[3]
Definition sensor_module_event.h:90
int64_t timestamp
Definition sensor_module_event.h:88
Structure used to provide acceleration data.
Definition sensor_module_event.h:86
int64_t timestamp
Definition sensor_module_event.h:104
int battery_level
Definition sensor_module_event.h:106
Structure used to provide battery level.
Definition sensor_module_event.h:102
double humidity
Definition sensor_module_event.h:76
int bsec_air_quality
Definition sensor_module_event.h:82
double pressure
Definition sensor_module_event.h:78
int64_t timestamp
Definition sensor_module_event.h:72
double temperature
Definition sensor_module_event.h:74
Structure used to provide environmental data.
Definition sensor_module_event.h:70
int err
Definition sensor_module_event.h:127
enum sensor_module_event_type type
Definition sensor_module_event.h:114
union sensor_module_event::@13 data
uint32_t id
Definition sensor_module_event.h:125
struct app_event_header header
Definition sensor_module_event.h:112
Sensor module event.
Definition sensor_module_event.h:110
double magnitude
Definition sensor_module_event.h:98
int64_t timestamp
Definition sensor_module_event.h:96
Structure used to provide impact data.
Definition sensor_module_event.h:94