Bluetooth: controller: Add Kconfig options for states and roles
In preparation for refactoring the Controller implementation into seperate state and role based source files, add Kconfig options for states and roles in the Controller. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
cff44ea3f6
commit
d9d3f8e7c7
1 changed files with 24 additions and 0 deletions
|
@ -39,9 +39,33 @@ config BLUETOOTH_CONTROLLER_TO_HOST_UART_DEV_NAME
|
|||
to connect to an external Bluetooth Host when Zephyr is
|
||||
acting as a Bluetooth Controller.
|
||||
|
||||
menu "Advertiser"
|
||||
visible if !BLUETOOTH_PERIPHERAL
|
||||
|
||||
config BLUETOOTH_CONTROLLER_STATE_ADV
|
||||
bool "Enable Advertiser"
|
||||
default y if BLUETOOTH_PERIPHERAL
|
||||
default y if !BLUETOOTH_CONTROLLER_STATE_SCAN
|
||||
help
|
||||
Enable support for advertising state in the Controller.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Scanner"
|
||||
visible if !BLUETOOTH_CENTRAL
|
||||
|
||||
config BLUETOOTH_CONTROLLER_STATE_SCAN
|
||||
bool "Enable Scanner"
|
||||
default y if BLUETOOTH_CENTRAL
|
||||
help
|
||||
Enable support for scanning state in the Controller.
|
||||
|
||||
endmenu
|
||||
|
||||
config BLUETOOTH_CONTROLLER_DUP_FILTER_LEN
|
||||
prompt "Number of addresses in the scan duplicate filter"
|
||||
int
|
||||
depends on BLUETOOTH_CONTROLLER_STATE_SCAN
|
||||
default 16
|
||||
help
|
||||
Set the number of unique BLE addresses that can be filtered as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue