Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bluetooth: controller: Refactor ll c into states/roles files #15

Merged
24 changes: 24 additions & 0 deletions subsys/bluetooth/controller/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading