nRF Connect SDK API 2.8.99
|
Sensor state event. More...
#include <sensor_event.h>
Data Fields | |
struct app_event_header | header |
const char * | descr |
enum sensor_state | state |
Sensor state event.
The sensor state event is submitted when state of a sensor changes.
The description field is a pointer to a string that is used to identify the sensor by the application. The Common Application Framework does not impose any standard way of describing sensors. Format and content of the sensor description is defined by the application.