nRF Connect SDK API 2.8.99
|
int dult_near_owner_state_set | ( | const struct dult_user * | user, |
enum dult_near_owner_state_mode | mode ) |
#include <include/dult.h>
Set the mode of the DULT near-owner state.
This function can only be called if the DULT user was previously registered with the dult_user_register API. By default, the DULT near-owner state is set to "near-owner" (see DULT_NEAR_OWNER_STATE_MODE_NEAR_OWNER) on boot and when the dult_reset API is called.
user | User structure used to authenticate the user. |
mode | Mode of the DULT near-owner state. |