mirror of
https://github.com/apache/nuttx.git
synced 2026-08-25 15:37:23 +00:00
Character driver for the Semtech SX1301, the baseband processor of a LoRaWAN gateway, and the two SX125x radios it drives. Received packets come from read(), downlinks go to write(), and the channel plan, the start and the stop are ioctls. The interface is device independent, in nuttx/wireless/lpwan/lora_gw.h with the commands in the common WLIOC_GW_* space, so another concentrator driver can implement it and the same application drive it. Adds a lorawan_gw configuration for the Nucleo F746ZG with a shield of the LRWAN_GS_HF1 family. Off by default (LPWAN_SX1301). Assisted-by: Claude Code 4.8 Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com>
55 lines
1.5 KiB
Text
55 lines
1.5 KiB
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
if DRIVERS_LPWAN
|
|
|
|
config LPWAN_LORA_GW
|
|
bool
|
|
default n
|
|
---help---
|
|
Selected by the driver of a LoRa gateway, that is, of a concentrator
|
|
registering the character device described by
|
|
include/nuttx/wireless/lpwan/lora_gw.h. An application driving a
|
|
gateway depends on this symbol rather than on one particular chip.
|
|
|
|
config LPWAN_RN2XX3
|
|
bool "Microchip RN2xx3 driver support"
|
|
default n
|
|
depends on SERIAL
|
|
---help---
|
|
Enable driver support for the RN2xx3 LoRa radio transceiver family.
|
|
|
|
config LPWAN_SX126X
|
|
bool "SX126X Low Power Long Range transceiver support"
|
|
default n
|
|
select SPI
|
|
---help---
|
|
This options adds driver support for the Samtech SX126X chip.
|
|
|
|
source "drivers/wireless/lpwan/sx126x/Kconfig"
|
|
|
|
config LPWAN_SX127X
|
|
bool "SX127X Low Power Long Range transceiver support"
|
|
default n
|
|
select SPI
|
|
---help---
|
|
This options adds driver support for the Samtech SX127X chip.
|
|
|
|
source "drivers/wireless/lpwan/sx127x/Kconfig"
|
|
|
|
config LPWAN_SX1301
|
|
bool "SX1301 LoRa concentrator (gateway) support"
|
|
default n
|
|
select SPI
|
|
select LPWAN_LORA_GW
|
|
---help---
|
|
This option adds driver support for the Semtech SX1301 LoRa
|
|
concentrator, the baseband processor of a LoRaWAN gateway, together
|
|
with its two SX125x radio front-ends. Registers a character device
|
|
delivering received packets and accepting downlinks.
|
|
|
|
source "drivers/wireless/lpwan/sx1301/Kconfig"
|
|
|
|
endif # DRIVERS_LPWAN
|