a05a47573a
Why? - metadata is easier to manage as an array + index - less error-prone -> less memory-management bugs - we can. because of the previous refactor - PDU allocations are more predictable - ATT buffer size can be optimized by app - isolates ATT from the rest of the ACL users - decouples ATT PDU size from e.g. SMP w/ LESC Drawbacks: - higher memory usage - kconfig change The higher memory use is only temporary, as this will be followed-up with more refactors that should bring it back down. Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no> Co-authored-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
51 lines
1,006 B
Plaintext
51 lines
1,006 B
Plaintext
CONFIG_BT=y
|
|
CONFIG_LOG=y
|
|
CONFIG_BT_PERIPHERAL=y
|
|
CONFIG_BT_PRIVACY=y
|
|
CONFIG_BT_AUDIO=y
|
|
CONFIG_UTF8=y
|
|
|
|
CONFIG_BT_SMP=y
|
|
CONFIG_BT_KEYS_OVERWRITE_OLDEST=y
|
|
CONFIG_BT_ATT_TX_COUNT=20
|
|
|
|
# TMAP support
|
|
CONFIG_BT_TMAP=y
|
|
|
|
# CAP
|
|
CONFIG_BT_CAP_ACCEPTOR=y
|
|
|
|
# BAP support
|
|
CONFIG_BT_BAP_UNICAST_SERVER=y
|
|
# Mandatory to support at least 1 for ASCS
|
|
CONFIG_BT_ATT_PREPARE_COUNT=1
|
|
|
|
# VCP support
|
|
CONFIG_BT_VCP_VOL_REND=y
|
|
|
|
# MCP support
|
|
CONFIG_BT_MCC=y
|
|
|
|
# Support an ISO channel per ASE
|
|
CONFIG_BT_ASCS_ASE_SNK_COUNT=1
|
|
CONFIG_BT_ASCS_ASE_SRC_COUNT=1
|
|
# Support an ISO channel per ASE
|
|
CONFIG_BT_ISO_MAX_CHAN=2
|
|
|
|
# Sink PAC Location Support
|
|
CONFIG_BT_PAC_SNK_LOC=y
|
|
# Source PAC Location Support
|
|
CONFIG_BT_PAC_SRC_LOC=y
|
|
|
|
# CCP Client Support
|
|
CONFIG_BT_TBS_CLIENT_GTBS=y
|
|
CONFIG_BT_TBS_CLIENT_ORIGINATE_CALL=y
|
|
CONFIG_BT_TBS_CLIENT_TERMINATE_CALL=y
|
|
CONFIG_BT_TBS_CLIENT_BEARER_URI_SCHEMES_SUPPORTED_LIST=y
|
|
|
|
# Generic config
|
|
CONFIG_BT_GATT_DYNAMIC_DB=y
|
|
CONFIG_BT_GATT_CLIENT=y
|
|
CONFIG_BT_EXT_ADV=y
|
|
CONFIG_BT_DEVICE_NAME="TMAP Peripheral"
|