nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches
multi_user.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _DULT_MULTI_USER_H_
8#define _DULT_MULTI_USER_H_
9
10#include <stdbool.h>
11#include <stdint.h>
12
13#include <zephyr/bluetooth/conn.h>
14
15#include <dult/dult.h>
16
29#ifdef __cplusplus
30extern "C" {
31#endif
32
53 void (*ownership_claimed)(const struct dult_user *user, bool is_owner);
54
71 void (*ownership_released)(const struct dult_user *user, bool was_owner);
72};
73
94 const struct dult_multi_user_cb *cb);
95
115int dult_multi_user_conn_claim(const struct dult_user *user, struct bt_conn *conn);
116
117#ifdef __cplusplus
118}
119#endif
120
125#endif /* _DULT_MULTI_USER_H_ */
int dult_multi_user_conn_claim(const struct dult_user *user, struct bt_conn *conn)
Claim a Bluetooth connection for a DULT user.
int dult_multi_user_cb_register(const struct dult_user *user, const struct dult_multi_user_cb *cb)
Register the DULT multi-user coexistence callbacks for a user.
void(* ownership_released)(const struct dult_user *user, bool was_owner)
Ownership released notification.
Definition multi_user.h:71
void(* ownership_claimed)(const struct dult_user *user, bool is_owner)
Ownership arbitration notification.
Definition multi_user.h:53
Definition multi_user.h:34
Definition dult.h:74