Add validation that the device supports the role set by bt_tmap_register. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
# Bluetooth Audio - Telephony and Media Audio Profile (TMAP) options
|
|
#
|
|
# Copyright 2023 NXP
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
config BT_TMAP_CG_SUPPORTED
|
|
def_bool (BT_CAP_INITIATOR && BT_CAP_COMMANDER && BT_BAP_UNICAST_CLIENT && BT_AUDIO_RX && \
|
|
BT_AUDIO_TX && BT_VCP_VOL_CTLR && BT_TBS)
|
|
|
|
config BT_TMAP_CT_SUPPORTED
|
|
def_bool BT_CAP_ACCEPTOR && BT_BAP_UNICAST_SERVER
|
|
|
|
config BT_TMAP_UMS_SUPPORTED
|
|
def_bool (BT_CAP_INITIATOR && BT_CAP_COMMANDER && BT_BAP_UNICAST_CLIENT && BT_AUDIO_TX && \
|
|
BT_VCP_VOL_CTLR && BT_MCS)
|
|
|
|
config BT_TMAP_UMR_SUPPORTED
|
|
def_bool BT_CAP_ACCEPTOR && BT_BAP_UNICAST_SERVER && BT_VCP_VOL_REND
|
|
|
|
config BT_TMAP_BMS_SUPPORTED
|
|
def_bool BT_CAP_INITIATOR && BT_BAP_BROADCAST_SOURCE
|
|
|
|
config BT_TMAP_BMR_SUPPORTED
|
|
def_bool BT_CAP_ACCEPTOR && BT_BAP_BROADCAST_SINK && BT_VCP_VOL_REND
|
|
|
|
config BT_TMAP
|
|
bool "Telephony and Media Audio Profile"
|
|
depends on BT_CAP_ACCEPTOR || BT_CAP_INITIATOR
|
|
help
|
|
Enabling this will enable TMAP.
|
|
|
|
parent-module = BT
|
|
module = BT_TMAP
|
|
module-str = "Telephony and Media Audio Profile"
|
|
source "subsys/logging/Kconfig.template.log_config_inherit"
|