zephyr/subsys/lorawan/Kconfig
Manivannan Sadhasivam 3ce8540f3a lorawan: Add initial support for LoRaWAN
Add initial support for LoRaWAN based on Semtech's loramac-node
library. Current implementation only supports OTAA config and
sending data to LoRaWAN server like ThingsNetwork.

While at it, this commit also moves the "loramac-node" library
definition from drivers/lora to subsys/lorawan. This is required
because, subsys/lorawan gets processed before drivers/lora and
that creates issue while building.

Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
2020-10-08 12:15:38 +02:00

62 lines
1.2 KiB
Plaintext

# LoRaWAN configuration options
# Copyright (c) 2020 Manivannan Sadhasivam <mani@kernel.org>
# SPDX-License-Identifier: Apache-2.0
menuconfig LORAWAN
bool "LoRaWAN support [EXPERIMENTAL]"
depends on LORA
select HAS_SEMTECH_LORAMAC
select HAS_SEMTECH_SOFT_SE
help
This option enables LoRaWAN support.
if LORAWAN
module = LORAWAN
module-str = lorawan
source "subsys/logging/Kconfig.template.log_config"
choice
prompt "LoRaWAN Region Selection"
default LORAMAC_REGION_UNKNOWN
help
Select the LoRaWAN region.
config LORAMAC_REGION_UNKNOWN
bool "Unknown region"
config LORAMAC_REGION_AS923
bool "Asia 923MHz Frequency band"
config LORAMAC_REGION_AU915
bool "Australia 915MHz Frequency band"
config LORAMAC_REGION_CN470
bool "China 470MHz Frequency band"
config LORAMAC_REGION_CN779
bool "China 779MHz Frequency band"
config LORAMAC_REGION_EU433
bool "Europe 433MHz Frequency band"
config LORAMAC_REGION_EU868
bool "Europe 868MHz Frequency band"
config LORAMAC_REGION_KR920
bool "South Korea 920MHz Frequency band"
config LORAMAC_REGION_IN865
bool "India 865MHz Frequency band"
config LORAMAC_REGION_US915
bool "North America 915MHz Frequency band"
config LORAMAC_REGION_RU864
bool "Russia 864MHz Frequency band"
endchoice
endif # LORAWAN