1# LoRaWAN configuration options
2
3# Copyright (c) 2020 Manivannan Sadhasivam <mani@kernel.org>
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig LORAWAN
7	bool "LoRaWAN support [EXPERIMENTAL]"
8	depends on LORA
9	depends on SYSTEM_WORKQUEUE_STACK_SIZE >= 2048
10	select REQUIRES_FULL_LIBC
11	select HAS_SEMTECH_LORAMAC
12	select HAS_SEMTECH_SOFT_SE
13	select EXPERIMENTAL
14	help
15	  This option enables LoRaWAN support.
16
17if LORAWAN
18
19module = LORAWAN
20module-str = lorawan
21source "subsys/logging/Kconfig.template.log_config"
22
23config LORAWAN_EMUL
24	bool "LoRaWAN Emulator"
25	help
26	  The emulator can be used for unit testing of LoRaWAN services.
27	  It provides interfaces to send arbitrary messages to the LoRaWAN
28	  stack and receive the response through callbacks without using
29	  actual LoRa hardware.
30
31	  See include/zephyr/lorawan/emul.h for the emulator API.
32
33config LORAWAN_SYSTEM_MAX_RX_ERROR
34	int "LoRaWAN System Max Rx Error"
35	default 20
36	help
37	  System Max Rx timing error value in ms to be used by LoRaWAN stack
38	  for calculating the RX1/RX2 window timing.
39
40config LORAWAN_PUBLIC_NETWORK
41	bool "LoRaWAN Public Network"
42	default y
43	help
44	  Enable this option to use a public LoRaWAN network.
45	  Disable for private LoRaWAN networks.
46
47config LORAMAC_REGION_AS923
48	bool "Asia 923MHz Frequency band"
49
50config LORAMAC_REGION_AU915
51	bool "Australia 915MHz Frequency band"
52
53config LORAMAC_REGION_CN470
54	bool "China 470MHz Frequency band"
55
56config LORAMAC_REGION_CN779
57	bool "China 779MHz Frequency band"
58
59config LORAMAC_REGION_EU433
60	bool "Europe 433MHz Frequency band"
61
62config LORAMAC_REGION_EU868
63	bool "Europe 868MHz Frequency band"
64
65config LORAMAC_REGION_KR920
66	bool "South Korea 920MHz Frequency band"
67
68config LORAMAC_REGION_IN865
69	bool "India 865MHz Frequency band"
70
71config LORAMAC_REGION_US915
72	bool "North America 915MHz Frequency band"
73
74config LORAMAC_REGION_RU864
75	bool "Russia 864MHz Frequency band"
76
77rsource "nvm/Kconfig"
78
79rsource "services/Kconfig"
80
81endif # LORAWAN
82