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