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_LIM_ADV_TIMEOUT
8	int "Timeout for limited advertising in 1s units"
9	default 30
10	range 1 180
11	help
12	  After this timeout is reached, advertisement with BT_LE_AD_LIMITED flag
13	  set shall be terminated. As per BT Core Spec 5.2, Vol 3, Part C,
14	  Appendix A (NORMATIVE): TIMERS AND CONSTANTS it's required to be no more
15	  than 180s.
16
17config BT_EXT_ADV
18	bool "Extended Advertising and Scanning support [EXPERIMENTAL]"
19	help
20	  Select this to enable Extended Advertising API support.
21	  This enables support for advertising with multiple advertising sets,
22	  extended advertising data, and advertising on LE Coded PHY.
23	  It enables support for receiving extended advertising data as a
24	  scanner, including support for advertising data over the LE coded PHY.
25	  It enables establishing connections over LE Coded PHY.
26
27if BT_EXT_ADV
28
29config BT_EXT_ADV_LEGACY_SUPPORT
30	bool "Support starting advertising through legacy commands"
31	help
32	  Select this to enable the use of the Legacy Advertising HCI commands.
33	  This option should be used where the capabilities of the controller
34	  is not known.
35	  If this option is not enabled the controller must support the extended
36	  advertising feature.
37
38config BT_EXT_ADV_MAX_ADV_SET
39	int "Maximum number of simultaneous advertising sets"
40	range 1 64
41	default 1
42	help
43	  Maximum number of simultaneous Bluetooth advertising sets
44	  supported.
45
46config BT_PER_ADV
47	bool "Periodic Advertising and Scanning support [EXPERIMENTAL]"
48	help
49	  Select this to enable Periodic Advertising API support. This allows
50	  the device to send advertising data periodically at deterministic
51	  intervals. Scanners can synchronize to the periodic advertisements
52	  to periodically get the data.
53
54config BT_PER_ADV_SYNC
55	bool "Periodic advertising sync support [EXPERIMENTAL]"
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
63if BT_PER_ADV_SYNC
64
65config BT_PER_ADV_SYNC_MAX
66	int "Maximum number of simultaneous periodic advertising syncs"
67	range 1 64
68	default 1
69	help
70	  Maximum number of simultaneous periodic advertising syncs supported.
71
72endif # BT_PER_ADV_SYNC
73endif # BT_EXT_ADV
74