diff --git a/sys/net/Kconfig b/sys/net/Kconfig index feb80a95e2..c4b3a8d1f7 100644 --- a/sys/net/Kconfig +++ b/sys/net/Kconfig @@ -7,6 +7,7 @@ menu "Networking" rsource "application_layer/Kconfig" +rsource "ble/Kconfig" rsource "credman/Kconfig" rsource "gnrc/Kconfig" rsource "sock/Kconfig" diff --git a/sys/net/ble/Kconfig b/sys/net/ble/Kconfig new file mode 100644 index 0000000000..0d796934f5 --- /dev/null +++ b/sys/net/ble/Kconfig @@ -0,0 +1,7 @@ +# Copyright (c) 2020 Freie Universitaet Berlin +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# +rsource "skald/Kconfig" diff --git a/sys/net/ble/skald/Kconfig b/sys/net/ble/skald/Kconfig new file mode 100644 index 0000000000..709e1713dc --- /dev/null +++ b/sys/net/ble/skald/Kconfig @@ -0,0 +1,31 @@ +# Copyright (c) 2020 Freie Universitaet Berlin +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# +menuconfig KCONFIG_MODULE_SKALD + bool "Configure SKALD" + depends on MODULE_SKALD + help + Configure Skald, BLE advertising stack, using Kconfig. + +if KCONFIG_MODULE_SKALD + +config SKALD_INTERVAL + int "Advertising interval in microseconds" + default 1000000 + help + Configure advertising interval in microseconds. Default value is 1 + second which is 1000000 microseconds. + +config ADV_CH_37_DISABLE + bool "Disable advertising on channel 37" + +config ADV_CH_38_DISABLE + bool "Disable advertising on channel 38" + +config ADV_CH_39_DISABLE + bool "Disable advertising on channel 39" + +endif # KCONFIG_MODULE_SKALD