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

◆ ownership_released

void(* dult_multi_user_cb::ownership_released) (const struct dult_user *user, bool was_owner)

Ownership released notification.

Called for every registered user when the associated user releases the association with dult_reset while keeping the users registered. DULT has no associated user until one of the registered users is enabled again. Claiming the association at this point is the decision of the user that owns the accessory state, not an automatic consequence of this notification.

was_owner reflects user's role in the dult_reset this notification refers to.

Parameters
[in]userThe user the notification refers to.
[in]was_ownertrue if user was the associated user whose association just ended, false if user was a registered bystander that can now re-arbitrate.