1# Bluetooth Audio - Broadcast Assistant configuration options
2#
3# Copyright (c) 2020 Bose Corporation
4# Copyright (c) 2021 Nordic Semiconductor ASA
5#
6# SPDX-License-Identifier: Apache-2.0
7#
8
9#################### Coordinated Set Identification Service ####################
10
11config BT_CSIP_SET_MEMBER
12	bool "Coordinated Set Identification Profile Set Member support [EXPERIMENTAL]"
13	imply BT_EXT_ADV if BT_PRIVACY
14	select EXPERIMENTAL
15	help
16	  This option enables support for Coordinated Set Identification
17	  Profile Set Member role and the Coordinated Set Identification
18	  Service.
19
20if BT_CSIP_SET_MEMBER
21
22config BT_CSIP_SET_MEMBER_TEST_SAMPLE_DATA
23	bool "Coordinated Set Identification Service Test Sample Data"
24	help
25	  Enable the use of the sample data defined by the CSIS spec SIRK.
26	  This will use the sample SIRK, prand and LTK.
27
28	  WARNING: This option enables anyone to track and decrypt the SIRK
29	  (if encrypted) using public sample data.
30	  Should not be used for production builds.
31
32config BT_CSIP_SET_MEMBER_ENC_SIRK_SUPPORT
33	bool "Support for encrypted SIRK"
34	default y
35	help
36	  Enables support encrypting the SIRK.
37
38config BT_CSIP_SET_MEMBER_MAX_INSTANCE_COUNT
39	int "Coordinated Set Identification Profle max service instance count"
40	default 1
41	range 1 255
42	help
43	  This option sets the maximum number of instances of Coordinated Set
44	  Identification Services. If the service is declared as primary service
45	  then only a single instance is possible.
46
47	  Enabling BT_CAP_ACCEPTOR_SET_MEMBER will take one of the allocated
48	  instances.
49
50endif # BT_CSIP_SET_MEMBER
51
52#################### Coordinated Set Identification Client ####################
53
54config BT_CSIP_SET_COORDINATOR
55	bool "Coordinated Set Identification Profile Set Coordinator Support [EXPERIMENTAL]"
56	select BT_GATT_CLIENT
57	select BT_GATT_AUTO_DISCOVER_CCC
58	select EXPERIMENTAL
59	help
60	  This option enables support for Coordinated Set Identification
61	  Profile Set Coordinator.
62
63if BT_CSIP_SET_COORDINATOR
64
65config BT_CSIP_SET_COORDINATOR_TEST_SAMPLE_DATA
66	bool "Coordinated Set Identification Service Test Sample Data"
67	help
68	  Enable the use of the sample data defined by the CSIS spec.
69	  This will use the sample SIRK, prand and LTK.
70
71	  WARNING: This option enables the client to use the sample data
72	  to locate members and decrypt the SIRK, and thus won't work
73	  with set members that are not using the sample data.
74	  Should not be used for production builds.
75
76config BT_CSIP_SET_COORDINATOR_MAX_CSIS_INSTANCES
77	int "Coordinated Set Identification Service Count"
78	default 1
79	range 1 3
80	help
81	  Sets the number of service instances, which corresponds to the number
82	  of different sets the peer device may be in.
83
84config BT_CSIP_SET_COORDINATOR_ENC_SIRK_SUPPORT
85	bool "Support for encrypted SIRK"
86	default y
87	help
88	  Enables support encrypting the SIRK.
89
90endif # BT_CSIP_SET_COORDINATOR
91