Bluetooth: Kconfig: Add kconfig options for extended advertising
Add Kconfig options to enable extendend advertising and scanning support. Include option to support both types of advertising commands in case the controller capabilities is not know or the controller is pluggable. Include option to only support legacy advertising API, this is to support the use-case of advertising using different identity than the scanner or initiator. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
e1fafc8b9f
commit
886badc69e
1 changed files with 30 additions and 0 deletions
|
@ -83,6 +83,36 @@ config BT_BROADCASTER
|
|||
|
||||
endmenu
|
||||
|
||||
config BT_EXT_ADV
|
||||
bool "Extended Advertising and Scanning support [EXPERIMENTAL]"
|
||||
help
|
||||
Select this to enable Extended Advertising API support.
|
||||
This enables support for advertising with multiple advertising sets,
|
||||
extended advertising data, and advertising on LE Coded PHY.
|
||||
It enables support for receiving extended advertising data as a
|
||||
scanner, including support for advertising data over the LE coded PHY.
|
||||
It enables establishing connections over LE Coded PHY.
|
||||
|
||||
if BT_EXT_ADV
|
||||
config BT_EXT_ADV_LEGACY_SUPPORT
|
||||
bool "Support starting advertising through legacy commands"
|
||||
help
|
||||
Select this to enable the use of the Legacy Advertising HCI commands.
|
||||
This option should be used where the capabilities of the controller
|
||||
is not known.
|
||||
If this option is not enabled the controller must support the extended
|
||||
advertising feature.
|
||||
|
||||
config BT_EXT_ADV_MAX_ADV_SET
|
||||
int "Maximum number of simultaneous advertising sets"
|
||||
range 1 1
|
||||
default 1
|
||||
help
|
||||
Maximum number of simultaneous Bluetooth advertising sets
|
||||
supported.
|
||||
|
||||
endif # BT_EXT_ADV
|
||||
|
||||
menu "Observer"
|
||||
visible if !BT_CENTRAL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue