1# Bluetooth LE Advertising and Scanning configuration options
2
3# Copyright (c) 2016 Intel Corporation
4# Copyright (c) 2021 Nordic Semiconductor ASA
5# SPDX-License-Identifier: Apache-2.0
6
7config BT_EXT_ADV
8	bool "Extended Advertising and Scanning support"
9	depends on !HAS_BT_CTLR || BT_CTLR_ADV_EXT_SUPPORT
10	default y if BT_MESH
11	help
12	  Select this to enable Extended Advertising API support.
13	  This enables support for advertising with multiple advertising sets,
14	  extended advertising data, and advertising on LE Coded PHY.
15	  It enables support for receiving extended advertising data as a
16	  scanner, including support for advertising data over the LE coded PHY.
17	  It enables establishing connections over LE Coded PHY.
18
19if BT_EXT_ADV
20
21config BT_EXT_ADV_LEGACY_SUPPORT
22	bool "Support starting advertising through legacy commands"
23	help
24	  Select this to enable the use of the Legacy Advertising HCI commands.
25	  This option should be used where the capabilities of the controller
26	  is not known.
27	  If this option is not enabled the controller must support the extended
28	  advertising feature.
29
30config BT_EXT_ADV_MAX_ADV_SET
31	int "Maximum number of simultaneous advertising sets"
32	range 1 64
33	default 1
34	help
35	  Maximum number of simultaneous Bluetooth advertising sets
36	  supported.
37
38config BT_PER_ADV
39	bool "Periodic Advertising and Scanning support"
40	help
41	  Select this to enable Periodic Advertising API support. This allows
42	  the device to send advertising data periodically at deterministic
43	  intervals. Scanners can synchronize to the periodic advertisements
44	  to periodically get the data.
45
46config BT_PER_ADV_RSP
47	bool "Periodic Advertising with Responses support"
48	depends on BT_PER_ADV
49	help
50	  Select this to enable Periodic Advertising with Responses
51	  API support.
52
53config BT_PER_ADV_SYNC
54	bool "Periodic advertising sync support"
55	depends on BT_OBSERVER
56	help
57	  Select this to enable Periodic Advertising Sync API support.
58	  Syncing with a periodic advertiser allows the device to periodically
59	  and deterministic receive data from that device in a connectionless
60	  manner.
61
62config BT_PER_ADV_SYNC_RSP
63	bool "Periodic Advertising with Responses sync support"
64	depends on BT_OBSERVER
65	help
66	  Select this to enable Periodic Advertising with Responses Sync
67	  API support.
68
69config BT_EXT_ADV_CODING_SELECTION
70	bool "Advertising Coding Selection support"
71	depends on !HAS_BT_CTLR || BT_CTLR_PHY_CODED
72	help
73	  Select this to enable Advertising Coding Selection API support.
74	  This allows the Host to indicate their strict requirement
75	  concerning coding scheme when using Extended Advertising.
76
77if BT_PER_ADV_SYNC
78
79config BT_PER_ADV_SYNC_MAX
80	int "Maximum number of simultaneous periodic advertising syncs"
81	range 1 64
82	default 1
83	help
84	  Maximum number of simultaneous periodic advertising syncs supported.
85
86endif # BT_PER_ADV_SYNC
87endif # BT_EXT_ADV
88