2020-03-04 22:24:09 +08:00
|
|
|
# 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
|
2022-11-25 18:42:54 +08:00
|
|
|
depends on SYSTEM_WORKQUEUE_STACK_SIZE >= 2048
|
2022-07-01 18:48:46 +08:00
|
|
|
select REQUIRES_FULL_LIBC
|
2020-03-04 22:24:09 +08:00
|
|
|
select HAS_SEMTECH_LORAMAC
|
|
|
|
select HAS_SEMTECH_SOFT_SE
|
2021-10-15 20:34:18 +08:00
|
|
|
select EXPERIMENTAL
|
2020-03-04 22:24:09 +08:00
|
|
|
help
|
|
|
|
This option enables LoRaWAN support.
|
|
|
|
|
|
|
|
if LORAWAN
|
|
|
|
|
|
|
|
module = LORAWAN
|
|
|
|
module-str = lorawan
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
|
2024-01-15 07:41:05 +08:00
|
|
|
config LORAWAN_EMUL
|
|
|
|
bool "LoRaWAN Emulator"
|
|
|
|
help
|
|
|
|
The emulator can be used for unit testing of LoRaWAN services.
|
|
|
|
It provides interfaces to send arbitrary messages to the LoRaWAN
|
|
|
|
stack and receive the response through callbacks without using
|
|
|
|
actual LoRa hardware.
|
|
|
|
|
|
|
|
See include/zephyr/lorawan/emul.h for the emulator API.
|
|
|
|
|
2020-03-04 22:44:56 +08:00
|
|
|
config LORAWAN_SYSTEM_MAX_RX_ERROR
|
|
|
|
int "LoRaWAN System Max Rx Error"
|
|
|
|
default 20
|
|
|
|
help
|
|
|
|
System Max Rx timing error value in ms to be used by LoRaWAN stack
|
|
|
|
for calculating the RX1/RX2 window timing.
|
|
|
|
|
2023-09-19 20:43:24 +08:00
|
|
|
config LORAWAN_PUBLIC_NETWORK
|
|
|
|
bool "LoRaWAN Public Network"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Enable this option to use a public LoRaWAN network.
|
|
|
|
Disable for private LoRaWAN networks.
|
|
|
|
|
2020-03-04 22:24:09 +08:00
|
|
|
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"
|
|
|
|
|
2022-01-03 19:32:18 +08:00
|
|
|
rsource "nvm/Kconfig"
|
|
|
|
|
2022-08-22 23:32:34 +08:00
|
|
|
rsource "services/Kconfig"
|
|
|
|
|
2020-03-04 22:24:09 +08:00
|
|
|
endif # LORAWAN
|