nRF Connect SDK API 2.8.99
|
#include <applications/asset_tracker_v2/src/events/sensor_module_event.h>
Sensor event types submitted by the Sensor module.
Enumerator | |
---|---|
SENSOR_EVT_MOVEMENT_ACTIVITY_DETECTED | Accelerometer reported activity. Acceleration exceeded the configured activity threshold. |
SENSOR_EVT_MOVEMENT_INACTIVITY_DETECTED | Accelerometer reported inactivity. Acceleration stayed below the threshold for a given time. |
SENSOR_EVT_MOVEMENT_IMPACT_DETECTED | Impact detected. Payload is of type sensor_module_data (impact). |
SENSOR_EVT_ENVIRONMENTAL_DATA_READY | Environmental sensors have been sampled. Payload is of type sensor_module_data (sensors). |
SENSOR_EVT_ENVIRONMENTAL_NOT_SUPPORTED | Environmental sensors are not supported on the current board. |
SENSOR_EVT_FUEL_GAUGE_READY | Battery fuel gauge data has been sampled. Payload is of type sensor_module_data (bat). |
SENSOR_EVT_FUEL_GAUGE_NOT_SUPPORTED | Battery data is not supported on the current board. |
SENSOR_EVT_SHUTDOWN_READY | The sensor module has performed all procedures to prepare for a shutdown of the system. The event carries the ID (id) of the module. |
SENSOR_EVT_ERROR | An irrecoverable error has occurred in the cloud module. Error details are attached in the event structure. |