nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ ext_sensors_inactivity_timeout_set()

int ext_sensors_inactivity_timeout_set ( double inact_time)

#include <applications/asset_tracker_v2/src/ext_sensors/ext_sensors.h>

Set the timeout for the inactivity detection of the accelerometer.

Parameters
[in]inact_timeVariable that sets the accelerometer inactivity timeout in s. Must be a value larger than 0 and smaller than the configured range (default ODR=12.5Hz, max timeout: 5242.880)