xiuos/APP_Framework/lib/lorawan
Liu_Weichao 3efe663ee0 update lorawan submodule commit 2023-08-03 15:40:11 +08:00
..
lora_radio_driver@a94c007cb4 update lorawan submodule commit 2023-08-03 15:40:11 +08:00
lorawan_devicenode@254754bc7d update lorawan submodule commit 2023-08-03 15:40:11 +08:00
lorawan_gateway_single_channel@ac1c6516ec feat add lorawan_gateway_single_channel lib for XiUOS and compile OK 2023-06-20 11:24:15 +08:00
Kconfig feat add lorawan_gateway_single_channel lib for XiUOS and compile OK 2023-06-20 11:24:15 +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 feat fix lorawan/README.md description error 2023-06-20 17:59:35 +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
git submodule update APP_Framework/lib/lorawan/lora_radio_driver
git submodule update APP_Framework/lib/lorawan/lorawan_devicenode

# 进入 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即可