Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
Telephone and Media Audio Profile (TMAP) More...
Data Structures | |
struct | bt_tmap_cb |
TMAP callback structure. More... | |
Macros | |
#define | BT_TMAP_CG_SUPPORTED |
Call Gateway (CG) supported. | |
#define | BT_TMAP_CT_SUPPORTED |
Call Terminal (CT) supported. | |
#define | BT_TMAP_UMS_SUPPORTED |
Unicast Media Sender (UMS) supported. | |
#define | BT_TMAP_UMR_SUPPORTED |
Unicast Media Receiver (UMR) supported. | |
#define | BT_TMAP_BMS_SUPPORTED (IS_ENABLED(CONFIG_BT_CAP_INITIATOR) && IS_ENABLED(CONFIG_BT_BAP_BROADCAST_SOURCE)) |
Broadcast Media Sender (BMS) supported. | |
#define | BT_TMAP_BMR_SUPPORTED (IS_ENABLED(CONFIG_BT_CAP_ACCEPTOR) && IS_ENABLED(CONFIG_BT_BAP_BROADCAST_SINK)) |
Broadcast Media Receiver (BMR) supported. | |
Enumerations | |
enum | bt_tmap_role { BT_TMAP_ROLE_CG = BIT(0) , BT_TMAP_ROLE_CT = BIT(1) , BT_TMAP_ROLE_UMS = BIT(2) , BT_TMAP_ROLE_UMR = BIT(3) , BT_TMAP_ROLE_BMS = BIT(4) , BT_TMAP_ROLE_BMR = BIT(5) } |
TMAP Role characteristic. More... | |
Functions | |
int | bt_tmap_register (enum bt_tmap_role role) |
Adds TMAS instance to database and sets the received TMAP role(s). | |
int | bt_tmap_discover (struct bt_conn *conn, const struct bt_tmap_cb *tmap_cb) |
Perform service discovery as TMAP Client. | |
void | bt_tmap_set_role (enum bt_tmap_role role) |
Set one or multiple TMAP roles dynamically. | |
Telephone and Media Audio Profile (TMAP)
The Telephone and Media Audio Profile (TMAP) uses a collection of Bluetooth features and profiles to enable interoperability between devices for telephony and media audio.
#define BT_TMAP_BMR_SUPPORTED (IS_ENABLED(CONFIG_BT_CAP_ACCEPTOR) && IS_ENABLED(CONFIG_BT_BAP_BROADCAST_SINK)) |
#include <zephyr/bluetooth/audio/tmap.h>
Broadcast Media Receiver (BMR) supported.
#define BT_TMAP_BMS_SUPPORTED (IS_ENABLED(CONFIG_BT_CAP_INITIATOR) && IS_ENABLED(CONFIG_BT_BAP_BROADCAST_SOURCE)) |
#include <zephyr/bluetooth/audio/tmap.h>
Broadcast Media Sender (BMS) supported.
#define BT_TMAP_CG_SUPPORTED |
#include <zephyr/bluetooth/audio/tmap.h>
Call Gateway (CG) supported.
#define BT_TMAP_CT_SUPPORTED |
#include <zephyr/bluetooth/audio/tmap.h>
Call Terminal (CT) supported.
#define BT_TMAP_UMR_SUPPORTED |
#include <zephyr/bluetooth/audio/tmap.h>
Unicast Media Receiver (UMR) supported.
#define BT_TMAP_UMS_SUPPORTED |
#include <zephyr/bluetooth/audio/tmap.h>
Unicast Media Sender (UMS) supported.
enum bt_tmap_role |
#include <zephyr/bluetooth/audio/tmap.h>
TMAP Role characteristic.
int bt_tmap_discover | ( | struct bt_conn * | conn, |
const struct bt_tmap_cb * | tmap_cb ) |
#include <zephyr/bluetooth/audio/tmap.h>
Perform service discovery as TMAP Client.
conn | Pointer to the connection. |
tmap_cb | Pointer to struct of TMAP callbacks. |
int bt_tmap_register | ( | enum bt_tmap_role | role | ) |
#include <zephyr/bluetooth/audio/tmap.h>
Adds TMAS instance to database and sets the received TMAP role(s).
role | TMAP role(s) of the device (one or multiple). |
void bt_tmap_set_role | ( | enum bt_tmap_role | role | ) |
#include <zephyr/bluetooth/audio/tmap.h>
Set one or multiple TMAP roles dynamically.
Previously registered value will be overwritten.
role | TMAP role(s). |