11#ifndef ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_TMAP_
12#define ZEPHYR_INCLUDE_BLUETOOTH_AUDIO_TMAP_
29#include <zephyr/autoconf.h>
Bluetooth connection handling.
void bt_tmap_set_role(enum bt_tmap_role role)
Set one or multiple TMAP roles dynamically.
int bt_tmap_register(enum bt_tmap_role role)
Adds TMAS instance to database and sets the received TMAP role(s).
bt_tmap_role
TMAP Role characteristic.
Definition tmap.h:35
int bt_tmap_discover(struct bt_conn *conn, const struct bt_tmap_cb *tmap_cb)
Perform service discovery as TMAP Client.
@ BT_TMAP_ROLE_UMR
TMAP Unicast Media Receiver role.
Definition tmap.h:65
@ BT_TMAP_ROLE_UMS
TMAP Unicast Media Sender role.
Definition tmap.h:58
@ BT_TMAP_ROLE_CG
TMAP Call Gateway role.
Definition tmap.h:43
@ BT_TMAP_ROLE_BMS
TMAP Broadcast Media Sender role.
Definition tmap.h:72
@ BT_TMAP_ROLE_CT
TMAP Call Terminal role.
Definition tmap.h:51
@ BT_TMAP_ROLE_BMR
TMAP Broadcast Media Receiver role.
Definition tmap.h:79
#define BIT(n)
Unsigned integer with bit position n set (signed in assembly language).
Definition util_macro.h:44
TMAP callback structure.
Definition tmap.h:83
void(* discovery_complete)(enum bt_tmap_role role, struct bt_conn *conn, int err)
TMAP discovery complete callback.
Definition tmap.h:94