1# Bluetooth Audio - Published Audio Capabilities configuration options
2#
3# Copyright (c) 2022 Nordic Semiconductor ASA
4
5# SPDX-License-Identifier: Apache-2.0
6#
7
8menu "Published Audio Capabilities (PAC) options"
9
10config BT_PAC_SNK
11	bool "Sink PAC Characteristic Support"
12	depends on BT_GATT_DYNAMIC_DB
13	depends on BT_SMP
14	help
15	  This option enables support for Sink Published Audio Capabilities.
16
17if BT_PAC_SNK
18config BT_PAC_SNK_NOTIFIABLE
19	bool "Sink PAC Notifiable Support"
20	help
21	  This option enables support for clients to be notified on the Sink
22	  PAC Characteristic changes.
23
24config BT_PAC_SNK_LOC
25	bool "Sink PAC Location Support"
26	default y
27	help
28	  This option enables support for Sink PAC Location Characteristic.
29
30config BT_PAC_SNK_LOC_WRITEABLE
31	bool "Sink PAC Location Writable Support"
32	depends on BT_PAC_SNK_LOC
33	help
34	  This option enables support for clients to write to the Sink PAC
35	  Location Characteristic.
36
37config BT_PAC_SNK_LOC_NOTIFIABLE
38	bool "Sink Audio Location Notifiable Support"
39	depends on BT_PAC_SNK_LOC
40	help
41	  This option enables support for clients to be notified on the Sink
42	  Audio Location Characteristic changes.
43
44endif # BT_PACS_SNK
45
46config BT_PAC_SRC
47	bool "Source PAC Characteristic Support"
48	depends on BT_GATT_DYNAMIC_DB
49	help
50	  This option enables support for Source Published Audio Capabilities.
51
52if BT_PAC_SRC
53
54config BT_PAC_SRC_NOTIFIABLE
55	bool "Source PAC Notifiable Support"
56	help
57	  This option enables support for clients to be notified on the Source
58	  PAC Characteristic changes.
59
60config BT_PAC_SRC_LOC
61	bool "Source PAC Location Support"
62	default y
63	help
64	  This option enables support for Source PAC Location Characteristic.
65
66config BT_PAC_SRC_LOC_WRITEABLE
67	bool "Source PAC Location Writable Support"
68	depends on BT_PAC_SRC_LOC
69	help
70	  This option enables support for clients to write to the Source PAC
71	  Location Characteristic.
72
73config BT_PAC_SRC_LOC_NOTIFIABLE
74	bool "Source Audio Location Notifiable Support"
75	depends on BT_PAC_SRC_LOC
76	help
77	  This option enables support for clients to be notified on the Source
78	  Audio Location Characteristic changes.
79
80endif # BT_PAC_SRC
81
82config BT_PACS
83	def_bool BT_PAC_SNK || BT_PAC_SRC
84
85config BT_PACS_SUPPORTED_CONTEXT_NOTIFIABLE
86	bool "Supported Audio Context Notifiable Support"
87	depends on BT_PACS
88	help
89	  This option enables support for clients to be notified on the
90	  Supported Audio Contexts Characteristic changes.
91
92endmenu
93