xiuos/APP_Framework/lib/lorawan
Liu_Weichao 009b8a0a5a fix lora tx timeout error 2024-01-10 18:09:13 +08:00
..
lora_radio_driver fix lora tx timeout error 2024-01-10 18:09:13 +08:00
lorawan_devicenode@197c320b99 update lorawan submodule, fix create event bug 2023-10-12 19:56:32 +08:00
lorawan_gateway_single_channel@6ec2a3d264 update lorawan submodule, fix create event bug 2023-10-12 19:56:32 +08:00
Kconfig feat support webserver function include net_4g/net_lora for xishutong-arm32, compile OK 2023-12-22 15:14:20 +08:00
Makefile feat add lorawan_gateway_single_channel lib for XiUOS and compile OK 2023-06-20 11:24:15 +08:00
README.md update lorawan function, support lorawan-ed-device connect chirpstack through lorawan-gateway-Ebyte-E890 2023-10-11 16:08:23 +08:00
lorawan_gateway_update.c modify webserver function using mongoose.a(compile using arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620) 2023-12-13 14:30:40 +08:00

README.md

lorawan子模块调试说明

矽璓工业物联操作系统XiUOS目前支持lorawan相关开源库通过子模块形式管理该目录主要内容是包含lora_radio_driverlorawan_devicenodelorawan_gateway_single_channel等。

目录内容

xiuos/APP_Framework/lib/lorawan
    ├── README.md    
    ├── lora_radio_driver                   lora_radio驱动库
    ├── lorawan_devicenode                  lorawan节点协议栈
    ├── lorawan_gateway_single_channel      lorawan单通道网关协议栈
    ├── Kconfig                             lorawan Kconfig配置
    └── Makefile                            lorawan Makefile

使用

使用前执行以下操作:

# 下载代码
# 进入APP_Framework/lib/lorawan目录下载更新子模块首先执行以下命令
git submodule init
# 若需要使用lora_radio_driver子模块执行以下命令
git submodule update APP_Framework/lib/lorawan/lora_radio_driver
# 若需要使用lorawan_devicenode子模块执行以下命令
git submodule update APP_Framework/lib/lorawan/lorawan_devicenode
# 若需要使用lorawan_gateway_single_channel子模块执行以下命令
git submodule update APP_Framework/lib/lorawan/lorawan_gateway_single_channel

# 进入 APP_Framework/lib/lorawan/Kconfig 配置增加子模块source路径从而编译时可找到相应lib的配置
menuconfig LIB_USING_LORAWAN_GATEWAY_SC
    bool "LoRaWan using lorawan_gateway for single channel(SX126x、SX127x) lib"
    default n
    select LIB_USING_LORA_RADIO

if LIB_USING_LORAWAN_GATEWAY_SC
    source "$APP_DIR/lib/lorawan/lorawan_gateway_single_channel/Kconfig"
endif

menuconfig LIB_USING_LORAWAN_ED_STACK
    bool "LoRaWan using lorawan_ed_stack lib"
    default n
    select LIB_USING_LORA_RADIO

if LIB_USING_LORAWAN_ED_STACK
    source "$APP_DIR/lib/lorawan/lorawan_devicenode/Kconfig"
endif

menuconfig LIB_USING_LORA_RADIO
    bool "LoRaWan using lora-radio-driver lib"
    default n

if LIB_USING_LORA_RADIO
    source "$APP_DIR/lib/lorawan/lora_radio_driver/Kconfig"
endif

#编译对应OS即可