| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
Header for Bluetooth TMAP. More...
#include <zephyr/sys/util.h>Go to the source code of this file.
Data Structures | |
| struct | bt_tmap_cb | 
| TMAP callback structure.  More... | |
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).  More... | |
| int | bt_tmap_discover (struct bt_conn *conn, struct bt_tmap_cb *tmap_cb) | 
| Perform service discovery as TMAP Client.  More... | |
| void | bt_tmap_set_role (enum bt_tmap_role role) | 
| Set one or multiple TMAP roles dynamically. Previously registered value will be overwritten.  More... | |
Header for Bluetooth TMAP.
Copyright 2023 NXP
SPDX-License-Identifier: Apache-2.0
| enum bt_tmap_role | 
| int bt_tmap_discover | ( | struct bt_conn * | conn, | 
| struct bt_tmap_cb * | tmap_cb | ||
| ) | 
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 | ) | 
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 | ) | 
Set one or multiple TMAP roles dynamically. Previously registered value will be overwritten.
| role | TMAP role(s). |