1# Bluetooth Audio - Audio Stream Control configuration options 2# 3# Copyright (c) 2020 Intel Corporation 4# Copyright (c) 2022 Nordic Semiconductor ASA 5 6# SPDX-License-Identifier: Apache-2.0 7# 8 9config BT_ASCS 10 bool "Audio Stream Control Service Support" 11 depends on BT_SMP 12 help 13 This option enables support for Audio Stream Control Service. 14 15if BT_ASCS 16config BT_ASCS_MAX_ASE_SNK_COUNT 17 int "Maximum number of Audio Stream Endpoint Sink Characteristics" 18 default 2 19 range 0 $(UINT8_MAX) 20 help 21 An ASE Sink characteristic represents the state of an ASE, which is 22 coupled to a single direction of a unicast Audio Stream. 23 24config BT_ASCS_MAX_ASE_SRC_COUNT 25 int "Maximum number of Audio Stream Endpoint Source Characteristics" 26 default 2 27 range 0 $(UINT8_MAX) 28 help 29 An ASE Source characteristic represents the state of an ASE, which is 30 coupled to a single direction of a unicast Audio Stream. 31 32config BT_ASCS_ASE_SNK 33 def_bool BT_ASCS_MAX_ASE_SNK_COUNT > 0 34 35config BT_ASCS_ASE_SRC 36 def_bool BT_ASCS_MAX_ASE_SRC_COUNT > 0 37 38config BT_ASCS_MAX_ACTIVE_ASES 39 int "Number of simultaneously supported ASE sessions" 40 default BT_ISO_MAX_CHAN 41 range 1 $(UINT16_MAX) 42 help 43 The number of simultaneously supported active ASEs, in particular 44 meaning the number of ASEs that are allowed to be in a non-idle state at 45 a single time. 46 47config BT_ASCS_ISO_DISCONNECT_DELAY 48 int "Milliseconds of delay before ASCS disconnects ISO after stream stop" 49 range 0 5000 50 default 500 51 help 52 The number of milliseconds ASCS will wait before disconnecting the ISO 53 of a stopped stream. The delay is added as it is the Unicast Client's 54 responsibility, but this is a failsafe to ensure that ISO channel is 55 being properly disconnected. 56 57config BT_ASCS_ASE_BUF_TIMEOUT 58 int "Milliseconds of timeout when handle concurrent access to the long read ASE buffer" 59 range 0 1000 60 default 50 61 help 62 The number of milliseconds that the ASCS implementation will maximum wait before rejecting 63 an ASE read or dropping a notification if the ASE state is being accessed by another 64 thread. 65 66 67endif # BT_ASCS 68