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