1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc/link_layer/lorawan/Kconfig
Akshai M 2c526a7d29 net/lorawan : Expose to Kconfig
Expose LORAMAC_REGION_XX_XXX to Kconfig as a choice
2020-10-14 00:16:47 +05:30

45 lines
1.1 KiB
Plaintext

# Copyright (c) 2019 HAW Hamburg
#
# 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_USEMODULE_GNRC_LORAWAN
bool "Configure GNRC LoRaWAN"
depends on USEMODULE_GNRC_LORAWAN
help
Configure GNRC LoRaWAN module using Kconfig.
if KCONFIG_USEMODULE_GNRC_LORAWAN
choice
bool "LoRaWAN region"
default LORAMAC_REGION_EU_868
help
Configure the LoRaWAN region.
config LORAMAC_REGION_EU_868
bool "EU863-870"
config LORAMAC_REGION_IN_865
bool "IN865-867"
endchoice
config GNRC_LORAWAN_TIMER_DRIFT
int "Maximum timer drift"
default 10
range -1000 1000
help
The value is expressed in per mille. This is only a workaround to
compensate inaccurate timers. E.g. a value of 1 means there's a
positive drift of 0.1% (set timeout to 1000 ms => triggers after
1001 ms)
config GNRC_LORAWAN_MIN_SYMBOLS_TIMEOUT
int "Minimum symbols to detect a LoRa preamble"
default 30
range 0 1024
endif # KCONFIG_USEMODULE_GNRC_LORAWAN