Some of the Kconfig options did not reflect the actual requirements from the TMAP spec. Relying on the AUDIO_TX and AUDIO_RX was misleading, as they could be set by broadcast configurations when the features required unicast features. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
38 lines
1.2 KiB
Plaintext
38 lines
1.2 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_BAP_UNICAST_CLIENT_ASE_SRC > 0 && BT_BAP_UNICAST_CLIENT_ASE_SNK > 0 && \
|
|
BT_VCP_VOL_CTLR && BT_TBS)
|
|
|
|
config BT_TMAP_CT_SUPPORTED
|
|
def_bool BT_CAP_ACCEPTOR && (BT_ASCS_ASE_SNK > 0 || BT_ASCS_ASE_SRC > 0)
|
|
|
|
config BT_TMAP_UMS_SUPPORTED
|
|
def_bool (BT_CAP_INITIATOR && BT_CAP_COMMANDER && BT_BAP_UNICAST_CLIENT && \
|
|
BT_BAP_UNICAST_CLIENT_ASE_SNK_COUNT > 0 && BT_VCP_VOL_CTLR && BT_MCS)
|
|
|
|
config BT_TMAP_UMR_SUPPORTED
|
|
def_bool BT_CAP_ACCEPTOR && BT_ASCS_ASE_SNK > 0 && 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"
|