1# Bluetooth Audio - Call Control Profile (CCP) configuration options
2#
3# Copyright (c) 2024 Nordic Semiconductor ASA
4#
5# SPDX-License-Identifier: Apache-2.0
6#
7
8if BT_AUDIO
9
10config BT_CCP_CALL_CONTROL_CLIENT
11	bool "Call Control Profile Client Support"
12	depends on BT_EXT_ADV
13	depends on BT_TBS_CLIENT
14	depends on BT_BONDABLE
15	help
16	  This option enables support for the Call Control Profile Client which uses the Telephone
17	  Bearer Service (TBS) client to control calls on a remote device.
18
19if BT_CCP_CALL_CONTROL_CLIENT
20
21config BT_CCP_CALL_CONTROL_CLIENT_BEARER_COUNT
22	int "Telephone bearer count"
23	default 1
24	range 1 $(UINT8_MAX) if BT_TBS_CLIENT_TBS
25	range 1 1
26	help
27	  The number of supported telephone bearers on the CCP Call Control Client
28
29module = BT_CCP_CALL_CONTROL_CLIENT
30module-str = "Call Control Profile Client"
31source "subsys/logging/Kconfig.template.log_config"
32
33endif # BT_CCP_CALL_CONTROL_CLIENT
34
35config BT_CCP_CALL_CONTROL_SERVER
36	bool "Call Control Profile Call Control Server Support"
37	depends on BT_EXT_ADV
38	depends on BT_TBS
39	depends on BT_BONDABLE
40	help
41	  This option enables support for the Call Control Profile Call Control Server which uses
42	  the Telephone Bearer Service (TBS) to hold and control calls on a device.
43
44if BT_CCP_CALL_CONTROL_SERVER
45
46config BT_CCP_CALL_CONTROL_SERVER_BEARER_COUNT
47	int "Telephone bearer count"
48	default 1
49	range 1 $(UINT8_MAX)
50	help
51	  The number of supported telephone bearers on the CCP Call Control Server
52
53module = BT_CCP_CALL_CONTROL_SERVER
54module-str = "Call Control Profile Call Control Server"
55source "subsys/logging/Kconfig.template.log_config"
56
57endif # BT_CCP_CALL_CONTROL_SERVER
58
59endif # BT_AUDIO
60