![]() |
nRF Connect SDK API 3.4.99
|
| int dult_multi_user_conn_claim | ( | const struct dult_user * | user, |
| struct bt_conn * | conn ) |
#include <include/dult/multi_user.h>
Claim a Bluetooth connection for a DULT user.
Binds conn to user so that ANOS operations arriving on conn during the pre-association window are routed to user. The DULT user is expected to call this function directly from its Bluetooth connected callback for the connections it owns.
This is only relevant during the pre-association window; once user becomes the associated user, ANOS is already routed to it. A DULT user that does not rely on ANOS operations during the pre-association window does not need this API.
The claim is released automatically by DULT when conn is disconnected, so the DULT user does not need to release it explicitly.
| user | User structure used to authenticate the user. |
| conn | Bluetooth connection to claim. |