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

◆ period_expired

bool(* dult_motion_detector_cb::period_expired) (void)

Notify the user that the motion detector period has expired.

This callback is called at the end of each motion detector period. The start function indicates the beginning of the first motion detector period. The next period is started as soon as the previous period expires. The user should notify the DULT module if motion was detected in the previous period. The return value of this callback is used to pass this information.

Returns
true to indicate detected motion in the last period, otherwise false.