Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tmap.h File Reference

Header for Bluetooth TMAP. More...

#include <zephyr/autoconf.h>
#include <zephyr/bluetooth/conn.h>
#include <zephyr/sys/util.h>
#include <zephyr/sys/util_macro.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 = (1UL << (0)) , BT_TMAP_ROLE_CT = (1UL << (1)) , BT_TMAP_ROLE_UMS = (1UL << (2)) , BT_TMAP_ROLE_UMR = (1UL << (3)) ,
  BT_TMAP_ROLE_BMS = (1UL << (4)) , BT_TMAP_ROLE_BMR = (1UL << (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.

Detailed Description

Header for Bluetooth TMAP.

Copyright 2023 NXP Copyright (c) 2024-2025 Nordic Semiconductor ASA

SPDX-License-Identifier: Apache-2.0