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

◆ dult_user_is_associated()

bool dult_user_is_associated ( const struct dult_user * user)

#include <include/dult/dult.h>

Check if the DULT user is the associated user.

The associated user is the user that successfully called the dult_enable function and has not released the association with the dult_reset function. At most one user is associated at a time.

The returned value is a snapshot of the current state. The return values of the dult_enable and dult_reset functions remain authoritative for the association outcome.

Parameters
userUser structure used to authenticate the user.
Returns
True if the provided user is the associated user. Otherwise, False is returned.