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 !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 [EXPERIMENTAL]"
48	select EXPERIMENTAL
49	depends on BT_PER_ADV
50	help
51	  Select this to enable Periodic Advertising with Responses
52	  API support.
53
54config BT_PER_ADV_SYNC
55	bool "Periodic advertising sync support"
56	depends on BT_OBSERVER
57	help
58	  Select this to enable Periodic Advertising Sync API support.
59	  Syncing with a periodic advertiser allows the device to periodically
60	  and deterministic receive data from that device in a connectionless
61	  manner.
62
63config BT_PER_ADV_SYNC_RSP
64	bool "Periodic Advertising with Responses sync support [EXPERIMENTAL]"
65	select EXPERIMENTAL
66	depends on BT_OBSERVER
67	help
68	  Select this to enable Periodic Advertising with Responses Sync
69	  API support.
70
71if BT_PER_ADV_SYNC
72
73config BT_PER_ADV_SYNC_MAX
74	int "Maximum number of simultaneous periodic advertising syncs"
75	range 1 64
76	default 1
77	help
78	  Maximum number of simultaneous periodic advertising syncs supported.
79
80endif # BT_PER_ADV_SYNC
81endif # BT_EXT_ADV
82