nRF Connect SDK API 2.8.99
|
int dult_motion_detector_cb_register | ( | const struct dult_user * | user, |
const struct dult_motion_detector_cb * | cb ) |
#include <include/dult.h>
Register motion detector callbacks.
This function registers callbacks to handle motion detector activities defined in the Motion detector feature from the DULT specification. This API can only be used when the
CONFIG_DULT_MOTION_DETECTOR
Kconfig option is enabled. If this configuration is active, this function must be called after registering the DULT user with dult_user_register and before enabling DULT with dult_enable function.
user | User structure used to authenticate the user. |
cb | Motion detector callback structure. |