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>
38 lines
678 B
Plaintext
38 lines
678 B
Plaintext
CONFIG_BT=y
|
|
CONFIG_LOG=y
|
|
CONFIG_BT_PAC_SNK=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_SCAN_DELEGATOR=y
|
|
CONFIG_BT_BAP_BROADCAST_SINK=y
|
|
CONFIG_BT_BAP_BROADCAST_SNK_SUBGROUP_COUNT=1
|
|
CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT=1
|
|
|
|
# VCP support
|
|
CONFIG_BT_VCP_VOL_REND=y
|
|
|
|
# Support an ISO channel per ASE
|
|
CONFIG_BT_ISO_MAX_CHAN=2
|
|
|
|
# Sink PAC Location Support
|
|
CONFIG_BT_PAC_SNK_LOC=y
|
|
|
|
# Generic config
|
|
CONFIG_BT_GATT_DYNAMIC_DB=y
|
|
CONFIG_BT_EXT_ADV=y
|
|
CONFIG_BT_DEVICE_NAME="TMAP BMR"
|