nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
set_sensor_period_event Struct Reference

Set sensor period event. More...

#include <sensor_event.h>

Data Fields

struct app_event_header header
 
const char * descr
 
int sampling_period
 

Detailed Description

Set sensor period event.

The set sensor period event can be submitted by user to change sensor sampling period.

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 are defined by the application.

Note
The set sensor period event related to the given sensor must use the same description as sensor_event related to the sensor.

The documentation for this struct was generated from the following file: