1# Bluetooth logging configuration options
2
3# Copyright (c) 2023 Nordic Semiconductor ASA
4# SPDX-License-Identifier: Apache-2.0
5
6config BT_LOG
7	# convenience symbol, _no touchy_
8	bool
9	default y if LOG && BT
10	select BT_LOG_LEGACY
11
12if BT_LOG
13
14menu "Bluetooth logging"
15
16config BT_LOG_LEGACY
17	bool
18
19if BT_LOG_LEGACY
20
21menu "Bluetooth legacy logging options"
22
23# COMMON
24
25config BT_DEBUG_HCI_DRIVER
26	bool "[DEPRECATED] Bluetooth HCI driver debug"
27	select DEPRECATED
28	help
29	  This option enables debug support for the active
30	  Bluetooth HCI driver, including the Controller-side HCI layer
31	  when included in the build.
32
33config BT_DEBUG_RPA
34	bool "[DEPRECATED] Bluetooth Resolvable Private Address (RPA) debug"
35	select DEPRECATED
36	depends on BT_RPA
37	help
38	  This option enables debug support for the Bluetooth
39	  Resolvable Private Address (RPA) generation and resolution.
40
41menu "[DEPRECATED] Audio"
42
43# AICS
44
45config BT_DEBUG_AICS
46	bool "[DEPRECATED] Audio Input Control Service debug"
47	select DEPRECATED
48	help
49	  Use this option to enable Audio Input Control Service debug logs for
50	  the Bluetooth Audio functionality.
51
52config BT_DEBUG_AICS_CLIENT
53	bool "[DEPRECATED] Audio Input Control Service client debug"
54	select DEPRECATED
55	help
56	  Use this option to enable Audio Input Control Service client debug
57	  logs for the Bluetooth Audio functionality.
58
59# BAP
60
61config BT_BAP_DEBUG_STREAM
62	bool "[DEPRECATED] Basic Audio Profile Stream debug"
63	select DEPRECATED
64	depends on BT_BAP_STREAM
65	help
66	  Use this option to enable Basic Audio Profile Stream debug logs.
67
68config BT_DEBUG_ASCS
69	bool "[DEPRECATED] Audio Stream Control Service debug"
70	select DEPRECATED
71	depends on BT_ASCS
72	help
73	  Use this option to enable Audio Stream Control Service debug logs for
74	  the Bluetooth Audio functionality.
75
76config BT_DEBUG_BAP_UNICAST_SERVER
77	bool "[DEPRECATED] Bluetooth Audio Unicast Server debug"
78	select DEPRECATED
79	depends on BT_BAP_UNICAST_SERVER
80	help
81	  Use this option to enable Bluetooth Audio Unicast Server debug logs
82	  for the Bluetooth Audio functionality.
83
84config BT_DEBUG_BAP_UNICAST_CLIENT
85	bool "[DEPRECATED] Basic Audio Profile client debug"
86	select DEPRECATED
87	depends on BT_BAP_UNICAST_CLIENT
88	help
89	  Use this option to enable Basic Audio Profile debug logs for the
90	  Bluetooth Audio functionality.
91
92config BT_DEBUG_BAP_BROADCAST_SOURCE
93	bool "[DEPRECATED] Bluetooth Audio Broadcast Source debug"
94	select DEPRECATED
95	depends on BT_BAP_BROADCAST_SOURCE
96	help
97	  Use this option to enable Bluetooth Audio Broadcast Source debug logs
98	  for the Bluetooth Audio functionality.
99
100config BT_DEBUG_BAP_BROADCAST_SINK
101	bool "[DEPRECATED] Bluetooth Audio Broadcast Sink debug"
102	select DEPRECATED
103	depends on BT_BAP_BROADCAST_SINK
104	help
105	  Use this option to enable Bluetooth Audio Broadcast Sink debug logs
106	  for the Bluetooth Audio functionality.
107
108config BT_DEBUG_BAP_SCAN_DELEGATOR
109	bool "[DEPRECATED] Broadcast Audio Scan Service debug"
110	select DEPRECATED
111	depends on BT_BAP_SCAN_DELEGATOR
112	help
113	  Use this option to enable Broadcast Audio Scan Service debug logs for
114	  the Bluetooth Audio functionality.
115
116config BT_DEBUG_BAP_BROADCAST_ASSISTANT
117	bool "[DEPRECATED] Broadcast Audio Scan Service client debug"
118	select DEPRECATED
119	depends on BT_BAP_BROADCAST_ASSISTANT
120	help
121	  Use this option to enable Broadcast Audio Scan Service client
122	  debug logs for the Bluetooth Audio functionality.
123
124# CAP
125
126config BT_DEBUG_CAP_ACCEPTOR
127	bool "[DEPRECATED] Common Audio Profile debug"
128	select DEPRECATED
129	depends on BT_CAP_ACCEPTOR
130	help
131	  Use this option to enable CAP debug logs for the
132	  Bluetooth Audio functionality.
133
134config BT_DEBUG_CAP_INITIATOR
135	bool "[DEPRECATED] Common Audio Profile Initiator debug"
136	select DEPRECATED
137	depends on BT_CAP_INITIATOR
138	help
139	  Use this option to enable CAP Initiator debug logs for the
140	  Bluetooth Audio functionality.
141
142# CISP
143
144config BT_DEBUG_CSIP_SET_MEMBER
145	bool "[DEPRECATED] Coordinated Set Identification Service debug"
146	select DEPRECATED
147	help
148	  Use this option to enable Coordinated Set Identification Service debug
149	  logs for the Bluetooth Audio functionality.
150
151config BT_DEBUG_CSIP_SET_COORDINATOR
152	bool "[DEPRECATED] Coordinated Set Identification Profile Set Coordinator debug"
153	select DEPRECATED
154	help
155	  Use this option to enable Coordinated Set Identification Profile
156	  Set Coordinator debug logs for the Bluetooth Audio functionality.
157
158config BT_DEBUG_CSIP_SET_MEMBER_CRYPTO
159	bool "[DEPRECATED] Coordinated Set Identification Profile crypto functions debug"
160	select DEPRECATED
161	depends on BT_CSIP_SET_COORDINATOR || BT_CSIP_SET_MEMBER
162	help
163	  Use this option to enable Coordinated Set Identification Profile
164	  crypto functions debug logs for the Bluetooth Audio functionality.
165
166# HAS
167
168config BT_DEBUG_HAS
169	bool "[DEPRECATED] Hearing Access Service debug"
170	select DEPRECATED
171	help
172	  This option enables enables Hearing Access Service debug logs.
173
174config BT_DEBUG_HAS_CLIENT
175	bool "[DEPRECATED] Hearing Access Service Client debug"
176	select DEPRECATED
177	depends on BT_HAS_CLIENT
178	help
179	  This option enables enables Hearing Access Service Client debug logs.
180
181# MCS
182
183config BT_DEBUG_MCS
184	bool "[DEPRECATED] Media Control Service debug"
185	select DEPRECATED
186	help
187	  Use this option to enable Media Control Service debug logs for the
188	  Bluetooth Audio functionality.
189
190config BT_DEBUG_MCC
191	bool "[DEPRECATED] Media Control Client debug"
192	select DEPRECATED
193	help
194	  Use this option to enable Media Control Client debug logs for the
195	  Bluetooth Audio functionality.
196
197# MCTL
198
199config MCTL_DEBUG
200	bool "[DEPRECATED] Media control debug"
201	select DEPRECATED
202	help
203	  Use this option to enable Media control debug logs
204
205# MICP
206
207config BT_DEBUG_MICP_MIC_DEV
208	bool "[DEPRECATED] Microphone Control Profile Microphone Device debug"
209	select DEPRECATED
210	help
211	  Use this option to enable Microphone Control Profile
212	  Microphone Device debug logs for the Bluetooth Audio functionality.
213
214config BT_DEBUG_MICP_MIC_CTLR
215	bool "[DEPRECATED] Microphone Control Profile Microphone Controller debug"
216	select DEPRECATED
217	help
218	  Use this option to enable Microphone Control Profile Microphone
219	  Controller debug logs for the Bluetooth Audio functionality.
220
221# MPL
222
223config BT_DEBUG_MPL
224	bool "[DEPRECATED] Media player debug"
225	select DEPRECATED
226	help
227	  Enables debug logs for the media player
228
229# PACS
230
231config BT_DEBUG_PACS
232	bool "[DEPRECATED] Published Audio Capabilities Service debug"
233	select DEPRECATED
234	depends on BT_PACS
235	help
236	  Use this option to enable Published Audio Capabilities Service debug
237	  logs for the Bluetooth Audio functionality.
238
239# TBS
240
241config BT_DEBUG_TBS
242	bool "[DEPRECATED] Telephone Bearer Service debug"
243	select DEPRECATED
244	help
245	  Use this option to enable Telephone Bearer Service debug logs for the
246	  Bluetooth Audio functionality.
247
248config BT_DEBUG_TBS_CLIENT
249	bool "[DEPRECATED] Telephone Bearer Service client debug"
250	select DEPRECATED
251	help
252	  Use this option to enable Telephone Bearer Service client debug logs
253	  for the Bluetooth Audio functionality.
254
255# VCP
256
257config BT_DEBUG_VCP_VOL_REND
258	bool "[DEPRECATED] Volume Control Profile Volume Renderer debug"
259	select DEPRECATED
260	help
261	  Use this option to enable Volume Control Profile debug logs for the
262	  Bluetooth Audio functionality.
263
264config BT_DEBUG_VCP_VOL_CTLR
265	bool "[DEPRECATED] Volume Control Profile Volume Controller debug"
266	select DEPRECATED
267	help
268	  Use this option to enable Volume Control Profile Volume Controller
269	  debug logs for the Bluetooth Audio functionality.
270
271# VOCS
272
273config BT_DEBUG_VOCS
274	bool "[DEPRECATED] Volume Offset Control Service debug"
275	select DEPRECATED
276	help
277	  Use this option to enable Volume Offset Control Service debug logs for
278	  the Bluetooth Audio functionality.
279
280config BT_DEBUG_VOCS_CLIENT
281	bool "[DEPRECATED] Volume Offset Control Service client debug"
282	select DEPRECATED
283	help
284	  Use this option to enable Volume Offset Control Service client debug
285	  logs for the Bluetooth Audio functionality.
286
287endmenu # [DEPRECATED] Audio
288
289menu "[DEPRECATED] Others"
290
291# CRYPTO (subsys/bluetooth/crypto/Kconfig)
292
293config BT_DEBUG_CRYPTO
294	bool "[DEPRECATED] Bluetooth Cryptographic Toolbox debug"
295	select DEPRECATED
296	depends on BT_CRYPTO
297	help
298	  This option enables debug log output for the Bluetooth
299	  Cryptographic Toolbox.
300
301	  WARNING: This option prints out private security keys such as
302	  the Long Term Key.
303	  Use of this feature in production is strongly discouraged.
304
305# GATT
306
307config BT_DEBUG_ATT
308	bool "[DEPRECATED] Bluetooth Attribute Protocol (ATT) debug"
309	select DEPRECATED
310	help
311	  This option enables debug support for the Bluetooth
312	  Attribute Protocol (ATT).
313
314config BT_DEBUG_GATT
315	bool "[DEPRECATED] Bluetooth Generic Attribute Profile (GATT) debug"
316	select DEPRECATED
317	help
318	  This option enables debug support for the Bluetooth
319	  Generic Attribute Profile (GATT).
320
321# L2CAP
322
323config BT_DEBUG_L2CAP
324	bool "[DEPRECATED] Bluetooth L2CAP debug"
325	select DEPRECATED
326	help
327	  This option enables debug support for the Bluetooth
328	  L2ACP layer.
329
330# HOST (subsys/bluetooth/host/Kconfig)
331
332config BT_DEBUG_DF
333	bool "[DEPRECATED] Bluetooth Direction Finding debug"
334	select DEPRECATED
335	help
336	  This option enables debug support for Bluetooth Direction Finding
337
338config BT_DEBUG_SETTINGS
339	bool "[DEPRECATED] Bluetooth storage debug"
340	select DEPRECATED
341	depends on BT_SETTINGS
342	help
343	  This option enables debug support for Bluetooth storage.
344
345config BT_DEBUG_HCI_CORE
346	bool "[DEPRECATED] Bluetooth HCI core debug"
347	select DEPRECATED
348	help
349	  This option enables debug support for Bluetooth HCI
350	  core.
351
352config BT_DEBUG_CONN
353	bool "[DEPRECATED] Bluetooth connection debug"
354	select DEPRECATED
355	depends on BT_CONN || BT_ISO
356	help
357	  This option enables debug support for Bluetooth
358	  connection handling.
359
360config BT_DEBUG_ISO
361	bool "[DEPRECATED] ISO channel debug"
362	select DEPRECATED
363	help
364	  Use this option to enable ISO channels debug logs for the
365	  Bluetooth Audio functionality.
366
367config BT_DEBUG_KEYS
368	bool "[DEPRECATED] Bluetooth security keys debug"
369	select DEPRECATED
370	depends on BT_HCI_HOST
371	depends on BT_SMP
372	help
373	  This option enables debug support for the handling of
374	  Bluetooth security keys.
375
376	  WARNING: This option prints out private security keys such as
377	  the Long Term Key.
378	  Use of this feature in production is strongly discouraged.
379
380config BT_DEBUG_SMP
381	bool "[DEPRECATED] Bluetooth Security Manager Protocol (SMP) debug"
382	select DEPRECATED
383	depends on BT_HCI_HOST
384	depends on BT_SMP
385	help
386	  This option enables debug support for the Bluetooth
387	  Security Manager Protocol (SMP).
388
389	  WARNING: This option prints out private security keys such as
390	  the Long Term Key.
391	  Use of this feature in production is strongly discouraged.
392
393config BT_DEBUG_SERVICE
394	bool "[DEPRECATED] Bluetooth Services debug"
395	select DEPRECATED
396	depends on BT_CONN
397	help
398	  This option enables debug support for the Bluetooth
399	  Services.
400
401# CONTROLLER (subsys/bluetooth/controller/Kconfig)
402
403config BT_CTLR_DEBUG_ISOAL
404	bool "[DEPRECATED] Bluetooth ISO-AL debug"
405	select DEPRECATED
406	depends on BT_CTLR_ISO
407	help
408	  This option enables debug support for the Bluetooth ISO-AL.
409
410
411endmenu # [DEPRECATED] Others
412
413menu "[DEPRECATED] BR/EDR"
414
415config BT_DEBUG_RFCOMM
416	bool "[DEPRECATED] Bluetooth RFCOMM debug"
417	select DEPRECATED
418	depends on BT_RFCOMM
419	help
420	  This option enables debug support for the Bluetooth
421	  RFCOMM layer.
422
423config BT_DEBUG_HFP_HF
424	bool "[DEPRECATED] Bluetooth Hands Free Profile (HFP) debug"
425	select DEPRECATED
426	depends on BT_HFP_HF
427	help
428	  This option enables debug support for the Bluetooth
429	  Hands Free Profile (HFP).
430
431config BT_DEBUG_AVDTP
432	bool "[DEPRECATED] Bluetooth AVDTP debug"
433	select DEPRECATED
434	depends on BT_AVDTP
435	help
436	  This option enables debug support for the Bluetooth AVDTP.
437
438config BT_DEBUG_A2DP
439	bool "[DEPRECATED] Bluetooth A2DP debug"
440	select DEPRECATED
441	depends on BT_A2DP
442	help
443	  This option enables debug support for the Bluetooth
444	  A2DP profile.
445
446config BT_DEBUG_SDP
447	bool "[DEPRECATED] Bluetooth Service Discovery Protocol (SDP) debug"
448	select DEPRECATED
449	depends on BT_BREDR
450	help
451	  This option enables debug support for the Bluetooth
452	  Service Discovery Protocol (SDP).
453
454endmenu # [DEPRECATED] BR/EDR
455
456# MESH (subsys/bluetooth/mesh/Kconfig)
457
458menu "[DEPRECATED] Mesh"
459
460config BT_MESH_DEBUG
461	bool "[DEPRECATED] Debug logs"
462	select DEPRECATED
463	help
464	  Use this option to enable debug logs for the Bluetooth
465	  Mesh functionality.
466
467config BT_MESH_DEBUG_NET
468	bool "[DEPRECATED] Network layer debug"
469	select DEPRECATED
470	help
471	  Use this option to enable Network layer debug logs for the
472	  Bluetooth mesh functionality.
473
474config BT_MESH_DEBUG_RPL
475	bool "[DEPRECATED] Replay protection list debug"
476	select DEPRECATED
477	help
478	  Use this option to enable Replay protection list debug logs
479	  for the Bluetooth mesh functionality.
480
481config BT_MESH_DEBUG_TRANS
482	bool "[DEPRECATED] Transport layer debug"
483	select DEPRECATED
484	help
485	  Use this option to enable Transport layer debug logs for the
486	  Bluetooth mesh functionality.
487
488config BT_MESH_DEBUG_BEACON
489	bool "[DEPRECATED] Beacon debug"
490	select DEPRECATED
491	help
492	  Use this option to enable Beacon-related debug logs for the
493	  Bluetooth mesh functionality.
494
495config BT_MESH_DEBUG_CRYPTO
496	bool "[DEPRECATED] Crypto debug"
497	select DEPRECATED
498	help
499	  Use this option to enable cryptographic debug logs for the
500	  Bluetooth mesh functionality.
501
502config BT_MESH_DEBUG_KEYS
503	bool "[DEPRECATED] Key management debug"
504	select DEPRECATED
505	help
506	  Use this option to enable key management debug logs for the
507	  Bluetooth mesh functionality.
508
509config BT_MESH_DEBUG_PROV
510	bool "[DEPRECATED] Provisioning debug"
511	select DEPRECATED
512	help
513	  Use this option to enable Provisioning debug logs for the
514	  Bluetooth mesh functionality.
515
516config BT_MESH_DEBUG_PROVISIONER
517	bool "[DEPRECATED] Provisioner debug"
518	select DEPRECATED
519	help
520	  Use this option to enable Provisioner debug logs for the
521	  Bluetooth mesh functionality.
522
523config BT_MESH_DEBUG_PROV_DEVICE
524	bool "[DEPRECATED] Provisioning device debug"
525	select DEPRECATED
526	help
527	  Use this option to enable Provisioning device debug logs for the
528	  Bluetooth Mesh functionality.
529
530config BT_MESH_DEBUG_ACCESS
531	bool "[DEPRECATED] Access layer debug"
532	select DEPRECATED
533	help
534	  Use this option to enable Access layer and device composition
535	  related debug logs for Bluetooth mesh.
536
537config BT_MESH_DEBUG_MODEL
538	bool "[DEPRECATED] Foundation model debug"
539	select DEPRECATED
540	help
541	  Use this option to enable debug logs for the Foundation
542	  Models.
543
544config BT_MESH_DEBUG_ADV
545	bool "[DEPRECATED] Advertising debug"
546	select DEPRECATED
547	help
548	  Use this option to enable advertising debug logs for
549	  the Bluetooth mesh functionality.
550
551config BT_MESH_DEBUG_LOW_POWER
552	bool "[DEPRECATED] Low Power debug"
553	select DEPRECATED
554	help
555	  Use this option to enable Low Power debug logs for the
556	  Bluetooth mesh functionality.
557
558config BT_MESH_DEBUG_FRIEND
559	bool "[DEPRECATED] Friend debug"
560	select DEPRECATED
561	help
562	  Use this option to enable Friend debug logs for the
563	  Bluetooth mesh functionality.
564
565config BT_MESH_DEBUG_PROXY
566	bool "[DEPRECATED] Proxy debug"
567	select DEPRECATED
568	depends on BT_MESH_GATT
569	help
570	  Use this option to enable Proxy protocol debug logs.
571
572config BT_MESH_DEBUG_SETTINGS
573	bool "[DEPRECATED] Persistent settings debug"
574	select DEPRECATED
575	depends on BT_SETTINGS
576	help
577	  Use this option to enable persistent settings debug logs.
578
579config BT_MESH_DEBUG_CDB
580	bool "[DEPRECATED] Configuration database debug"
581	select DEPRECATED
582	depends on BT_MESH_CDB
583	help
584	  Use this option to enable configuration database debug logs.
585
586config BT_MESH_DEBUG_CFG
587	bool "[DEPRECATED] Configuration debug"
588	select DEPRECATED
589	help
590	  Use this option to enable node configuration debug logs for the
591	  Bluetooth mesh functionality.
592
593endmenu # [DEPRECATED] Mesh
594
595menu "[DEPRECATED] Services"
596
597# IAS
598
599config BT_DEBUG_IAS_CLIENT
600	bool "[DEPRECATED] Immediate Alert Service Client debug"
601	select DEPRECATED
602	depends on BT_IAS_CLIENT
603	help
604	  This option enables enables Immediate Alert Service Client debug logs.
605
606# OTS
607
608# TODO: Unify logging for OTS server and client - the client uses
609# "BT" debugging, the server does not.
610
611config BT_DEBUG_OTS_CLIENT
612	bool "[DEPRECATED] Object Transfer Service Client debug"
613	select DEPRECATED
614	help
615	  Use this option to enable Object Transfer Client debug logs
616
617endmenu # [DEPRECATED] Services
618
619endmenu # Bluetooth legacy logging options
620
621endif # BT_LOG_LEGACY
622
623# (subsys/bluetooth/Kconfig)
624
625module = BT
626module-str = "Bluetooth"
627source "subsys/logging/Kconfig.template.log_config"
628
629# COMMON (subsys/bluetooth/common/Kconfig)
630
631module = BT_HCI_DRIVER
632legacy-debug-sym = BT_DEBUG_HCI_DRIVER
633module-str = "Bluetooth HCI driver"
634source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
635
636module = BT_RPA
637legacy-debug-sym = BT_DEBUG_RPA
638module-str = "Bluetooth Resolvable Private Address (RPA)"
639source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
640
641menu "Audio"
642
643# AICS
644
645module = BT_AICS
646legacy-debug-sym = BT_DEBUG_AICS
647module-str = "Audio Input Control Service"
648source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
649
650module = BT_AICS_CLIENT
651legacy-debug-sym = BT_DEBUG_AICS_CLIENT
652module-str = "Audio Input Control Service client"
653source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
654
655# BAP
656
657module = BT_BAP_STREAM
658legacy-debug-sym = BT_BAP_DEBUG_STREAM
659module-str = "Bluetooth Audio Stream"
660source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
661
662parent-module = BT
663module = BT_AUDIO_CODEC
664module-str = "Bluetooth Audio Codec"
665source "subsys/logging/Kconfig.template.log_config_inherit"
666
667module = BT_ASCS
668legacy-debug-sym = BT_DEBUG_ASCS
669module-str = "Audio Stream Control Service"
670source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
671
672module = BT_BAP_UNICAST_SERVER
673legacy-debug-sym = BT_DEBUG_BAP_UNICAST_SERVER
674module-str = "Bluetooth Audio Unicast Server"
675source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
676
677module = BT_BAP_UNICAST_CLIENT
678legacy-debug-sym = BT_DEBUG_BAP_UNICAST_CLIENT
679module-str = "Basic Audio Profile"
680source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
681
682module = BT_BAP_BROADCAST_SOURCE
683legacy-debug-sym = BT_DEBUG_BAP_BROADCAST_SOURCE
684module-str = "Bluetooth Audio Broadcast Source"
685source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
686
687module = BT_BAP_BROADCAST_SINK
688legacy-debug-sym = BT_DEBUG_BAP_BROADCAST_SINK
689module-str = "Bluetooth Audio Broadcast Sink"
690source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
691
692module = BT_BAP_SCAN_DELEGATOR
693legacy-debug-sym = BT_DEBUG_BAP_SCAN_DELEGATOR
694module-str = "Broadcast Audio Scan Service"
695source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
696
697module = BT_BAP_BROADCAST_ASSISTANT
698legacy-debug-sym = BT_DEBUG_BAP_BROADCAST_ASSISTANT
699module-str = "Broadcast Audio Scan Service client debug"
700source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
701
702parent-module = BT
703module = BT_BAP_ISO
704module-str = "Bluetooth Audio ISO"
705source "subsys/logging/Kconfig.template.log_config_inherit"
706
707# CAP
708
709module = BT_CAP_ACCEPTOR
710legacy-debug-sym = BT_DEBUG_CAP_ACCEPTOR
711module-str = "Common Audio Profile Acceptor"
712source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
713
714module = BT_CAP_INITIATOR
715legacy-debug-sym = BT_DEBUG_CAP_INITIATOR
716module-str = "Common Audio Profile Initiator"
717source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
718
719parent-module = BT
720module = BT_CAP_STREAM
721module-str = "Common Audio Profile Stream"
722source "subsys/logging/Kconfig.template.log_config_inherit"
723
724# CSIP
725
726module = BT_CSIP_SET_MEMBER
727legacy-debug-sym = BT_DEBUG_CSIP_SET_MEMBER
728module-str = "Coordinated Set Identification Service"
729source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
730
731module = BT_CSIP_SET_COORDINATOR
732legacy-debug-sym = BT_DEBUG_CSIP_SET_COORDINATOR
733module-str = "Coordinated Set Identification Profile Set Coordinator"
734source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
735
736module = BT_CSIP_SET_MEMBER_CRYPTO
737legacy-debug-sym = BT_DEBUG_CSIP_SET_MEMBER_CRYPTO
738module-str = "Coordinated Set Identification Profile crypto functions"
739source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
740
741# HAS
742
743module = BT_HAS
744legacy-debug-sym = BT_DEBUG_HAS
745module-str = "Hearing Access Service"
746source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
747
748module = BT_HAS_CLIENT
749legacy-debug-sym = BT_DEBUG_HAS_CLIENT
750module-str = "Hearing Access Service Client"
751source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
752
753# MCS
754
755module = BT_MCS
756legacy-debug-sym = BT_DEBUG_MCS
757module-str = "Media Control Service"
758source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
759
760module = BT_MCC
761legacy-debug-sym = BT_DEBUG_MCC
762module-str = "Media Control Client"
763source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
764
765# MCTL
766
767module = MCTL
768legacy-debug-sym = MCTL_DEBUG
769module-str = "Media control"
770source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
771
772# MICP
773
774module = BT_MICP_MIC_DEV
775legacy-debug-sym = BT_DEBUG_MICP_MIC_DEV
776module-str = "Microphone Control Profile Microphone Device"
777source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
778
779module = BT_MICP_MIC_CTLR
780legacy-debug-sym = BT_DEBUG_MICP_MIC_CTLR
781module-str = "Microphone Control Profile Microphone Controller"
782source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
783
784# MPL
785
786module = BT_MPL
787legacy-debug-sym = BT_DEBUG_MPL
788module-str = "Media player"
789source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
790
791# PACS
792
793module = BT_PACS
794legacy-debug-sym = BT_DEBUG_PACS
795module-str = "Published Audio Capabilities Service"
796source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
797
798# TBS
799
800module = BT_TBS
801legacy-debug-sym = BT_DEBUG_TBS
802module-str = "Telephone Bearer Service"
803source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
804
805module = BT_TBS_CLIENT
806legacy-debug-sym = BT_DEBUG_TBS_CLIENT
807module-str = "Telephone Bearer Service client"
808source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
809
810# VCP
811
812module = BT_VCP_VOL_REND
813legacy-debug-sym = BT_DEBUG_VCP_VOL_REND
814module-str = "Volume Control Profile Voluem Renderer"
815source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
816
817module = BT_VCP_VOL_CTLR
818legacy-debug-sym = BT_DEBUG_VCP_VOL_CTLR
819module-str = "Volume Control Profile Volume Controller"
820source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
821
822# VOCS
823
824module = BT_VOCS
825legacy-debug-sym = BT_DEBUG_VOCS
826module-str = "Volume Offset Control Service"
827source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
828
829module = BT_VOCS_CLIENT
830legacy-debug-sym = BT_DEBUG_VOCS_CLIENT
831module-str = "Volume Offset Control Service client"
832source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
833
834endmenu # Audio
835
836menu "Others"
837
838# CRYPTO (subsys/bluetooth/crypto/Kconfig)
839
840module = BT_CRYPTO
841legacy-debug-sym = BT_DEBUG_CRYPTO
842module-str = "Bluetooth Cryptographic Toolbox"
843source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
844
845# GATT
846
847module = BT_ATT
848legacy-debug-sym = BT_DEBUG_ATT
849module-str = "Bluetooth Attribute Protocol (ATT)"
850source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
851
852module = BT_GATT
853legacy-debug-sym = BT_DEBUG_GATT
854module-str = "Bluetooth Generic Attribute Profile (GATT)"
855source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
856
857# L2CAP
858
859module = BT_L2CAP
860legacy-debug-sym = BT_DEBUG_L2CAP
861module-str = "Bluetooth L2CAP"
862source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
863
864# LIB (subsys/bluetooth/lib/Kconfig)
865
866parent-module = BT
867module = BT_EAD
868module-str = "Bluetooth Encrypted Advertising Data"
869source "subsys/logging/Kconfig.template.log_config_inherit"
870
871# HOST (subsys/bluetooth/host/Kconfig)
872
873module = BT_DF
874legacy-debug-sym = BT_DEBUG_DF
875module-str = "Bluetooth Direction Finding"
876source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
877
878module = BT_SETTINGS
879legacy-debug-sym = BT_DEBUG_SETTINGS
880module-str = "Bluetooth storage"
881source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
882
883module = BT_HCI_CORE
884legacy-debug-sym = BT_DEBUG_HCI_CORE
885module-str = "Bluetooth HCI core"
886source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
887
888module = BT_CONN
889legacy-debug-sym = BT_DEBUG_CONN
890module-str = "Bluetooth connection"
891source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
892
893module = BT_ISO
894legacy-debug-sym = BT_DEBUG_ISO
895module-str = "ISO channel"
896source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
897
898module = BT_KEYS
899legacy-debug-sym = BT_DEBUG_KEYS
900module-str = "Bluetooth security keys"
901source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
902
903module = BT_SMP
904legacy-debug-sym = BT_DEBUG_SMP
905module-str = "Bluetooth Security Manager Protocol"
906source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
907
908module = BT_SERVICE
909legacy-debug-sym = BT_DEBUG_SERVICE
910module-str = "Bluetooth Services"
911source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
912
913# CONTROLLER (subsys/bluetooth/controller/Kconfig)
914
915module = BT_CTLR_ISOAL
916legacy-debug-sym = BT_CTLR_DEBUG_ISOAL
917module-str = "Bluetooth Controller ISO-AL"
918source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
919
920endmenu # Others
921
922menu "BR/EDR"
923
924module = BT_RFCOMM
925legacy-debug-sym = BT_DEBUG_RFCOMM
926module-str = "Bluetooth RFCOMM"
927source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
928
929module = BT_HFP_HF
930legacy-debug-sym = BT_DEBUG_HFP_HF
931module-str = "Bluetooth Hands Free Profile (HFP)"
932source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
933
934module = BT_AVDTP
935legacy-debug-sym = BT_DEBUG_AVDTP
936module-str = "Bluetooth AVDTP debug"
937source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
938
939module = BT_A2DP
940legacy-debug-sym = BT_DEBUG_A2DP
941module-str = "Bluetooth A2DP"
942source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
943
944module = BT_SDP
945legacy-debug-sym = BT_DEBUG_SDP
946module-str = "Bluetooth Service Discovery Protocol (SDP)"
947source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
948
949endmenu # BR/EDR
950
951# MESH (subsys/bluetooth/mesh/Kconfig)
952
953menu "Mesh"
954
955module = BT_MESH
956legacy-debug-sym = BT_MESH_DEBUG
957module-str = "Debug logs"
958source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
959
960module = BT_MESH_NET
961legacy-debug-sym = BT_MESH_DEBUG_NET
962module-str = "Network layer"
963source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
964
965module = BT_MESH_RPL
966legacy-debug-sym = BT_MESH_DEBUG_RPL
967module-str = "Replay protection list"
968source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
969
970module = BT_MESH_TRANS
971legacy-debug-sym = BT_MESH_DEBUG_TRANS
972module-str = "Transport layer"
973source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
974
975module = BT_MESH_BEACON
976legacy-debug-sym = BT_MESH_DEBUG_BEACON
977module-str = "Beacon"
978source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
979
980module = BT_MESH_CRYPTO
981legacy-debug-sym = BT_MESH_DEBUG_CRYPTO
982module-str = "Crypto"
983source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
984
985module = BT_MESH_KEYS
986legacy-debug-sym = BT_MESH_DEBUG_KEYS
987module-str = "Key management"
988source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
989
990module = BT_MESH_PROV
991legacy-debug-sym = BT_MESH_DEBUG_PROV
992module-str = "Provisioning"
993source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
994
995module = BT_MESH_PROVISIONER
996legacy-debug-sym = BT_MESH_DEBUG_PROVISIONER
997module-str = "Provisioner"
998source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
999
1000module = BT_MESH_PROV_DEVICE
1001legacy-debug-sym = BT_MESH_DEBUG_PROV_DEVICE
1002module-str = "Provisioning device"
1003source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1004
1005module = BT_MESH_ACCESS
1006legacy-debug-sym = BT_MESH_DEBUG_ACCESS
1007module-str = "Access layer"
1008source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1009
1010module = BT_MESH_MODEL
1011legacy-debug-sym = BT_MESH_DEBUG_MODEL
1012module-str = "Foundation model"
1013source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1014
1015module = BT_MESH_DFU
1016module-str = "DFU model"
1017source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1018
1019module = BT_MESH_ADV
1020legacy-debug-sym = BT_MESH_DEBUG_ADV
1021module-str = "Advertising"
1022source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1023
1024module = BT_MESH_LOW_POWER
1025legacy-debug-sym = BT_MESH_DEBUG_LOW_POWER
1026module-str = "Low Power"
1027source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1028
1029module = BT_MESH_FRIEND
1030legacy-debug-sym = BT_MESH_DEBUG_FRIEND
1031module-str = "Friend"
1032source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1033
1034module = BT_MESH_PROXY
1035legacy-debug-sym = BT_MESH_DEBUG_PROXY
1036module-str = "Proxy"
1037source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1038
1039module = BT_MESH_SETTINGS
1040legacy-debug-sym = BT_MESH_DEBUG_SETTINGS
1041module-str = "Persistent settings"
1042source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1043
1044module = BT_MESH_CDB
1045legacy-debug-sym = BT_MESH_DEBUG_CDB
1046module-str = "Configuration database"
1047source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1048
1049module = BT_MESH_CFG
1050legacy-debug-sym = BT_MESH_DEBUG_CFG
1051module-str = "Configuration"
1052source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1053
1054endmenu # Mesh
1055
1056menu "Services"
1057
1058# BAS
1059
1060module = BT_BAS
1061module-str = BAS
1062source "subsys/logging/Kconfig.template.log_config"
1063
1064# HRS
1065
1066module = BT_HRS
1067module-str = HRS
1068source "subsys/logging/Kconfig.template.log_config"
1069
1070# TPS
1071
1072module = BT_TPS
1073module-str = TPS
1074source "subsys/logging/Kconfig.template.log_config"
1075
1076# IAS
1077
1078module = BT_IAS_CLIENT
1079legacy-debug-sym = BT_DEBUG_IAS_CLIENT
1080module-str = "Immediate Alert Service Client"
1081source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1082
1083module = BT_IAS
1084module-str = IAS
1085source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
1086
1087# OTS (subsys/bluetooth/services/ots/Kconfig)
1088
1089module = BT_OTS_CLIENT
1090legacy-debug-sym = BT_DEBUG_OTS_CLIENT
1091module-str = "Object Transfer Service Client"
1092source "subsys/bluetooth/common/Kconfig.template.log_config_bt"
1093
1094module = BT_OTS
1095module-str = BT_OTS
1096source "${ZEPHYR_BASE}/subsys/logging/Kconfig.template.log_config"
1097
1098endmenu # Services
1099
1100endmenu # Bluetooth logging
1101
1102endif # BT_LOG
1103