forked from RT-Thread/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request RT-Thread#1035 from Forest-Rain/master
add lora-gw-driver ,lora-pkt-sniffer,lora-pkt-fwd software package
- Loading branch information
Showing
10 changed files
with
537 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
|
||
# Kconfig file for package lora_pkt_fwd | ||
menuconfig PKG_USING_LORA_PKT_FWD | ||
bool "lora_pkt_fwd:lora(wan) packet forward based on Semtech GWMP protocol(UDP)" | ||
default n | ||
|
||
if PKG_USING_LORA_PKT_FWD | ||
|
||
config PKG_LORA_PKT_FWD_PATH | ||
string | ||
default "/packages/iot/lora_pkt_fwd" | ||
|
||
config LORA_PKT_FWD_USING_PROTOCOL_SEMTECH_GWMP | ||
bool | ||
default y | ||
|
||
config LORA_PKT_FWD_USING_MULTI_CHANNEL_MODE | ||
bool | ||
default y | ||
select RT_USING_SAL | ||
select RT_USING_PTHREADS | ||
|
||
config PKG_USING_LORA_GW_DRIVER_LIB | ||
bool "Use lora-gw-driver-lib" | ||
default y | ||
|
||
config LORA_PKT_FWD_USING_PARAMS_CONF_BY_JSON | ||
bool "Use Gateway JSON Configuration File" | ||
default n | ||
|
||
choice | ||
prompt "Select LoRaWAN Network Server" | ||
default LORA_PKT_FWD_USING_PROTOCOL_LIERDA_UNICORE | ||
help | ||
Select LoRaWAN Network Server(GWMP) | ||
|
||
config LORA_PKT_FWD_USING_PROTOCOL_LIERDA_UNICORE | ||
bool "Lierda Unicore" | ||
|
||
config LORA_PKT_FWD_USING_NETWORK_SERVER_TTN | ||
bool "TTN" | ||
|
||
config LORA_PKT_FWD_USING_NETWORK_SERVER_TENCENT | ||
bool "Tencent iot-explorer" | ||
endchoice | ||
|
||
menu "Enable LoRa Packet Forward Debug" | ||
config LORA_PKT_FWD_DEBUG | ||
bool "Enable lora-pkt-fwd Debug" | ||
default n | ||
|
||
if LORA_PKT_FWD_DEBUG | ||
config LPF_DBG_GWMP_CONFIG | ||
bool "Enable LPF GWMP Debug" | ||
default y | ||
config LPF_DBG_GWMP | ||
int | ||
default 1 if LPF_DBG_GWMP_CONFIG | ||
|
||
config LPF_DBG_SHELL_CONFIG | ||
bool "Enable LPF Shell Debug" | ||
default y | ||
config LPF_DBG_SHELL | ||
int | ||
default 1 if LPF_DBG_SHELL_CONFIG | ||
|
||
config LPF_DBG_PARAMS_CONF_CONFIG | ||
bool "Enable LPF Params Config Debug" | ||
default n | ||
config LPF_DBG_PARAMS_CONF | ||
int | ||
default 1 if LPF_DBG_PARAMS_CONF_CONFIG | ||
|
||
config LPF_DBG_USING_JIT_QUEUE | ||
bool "Enable Jit Queue Debug" | ||
default n | ||
endif | ||
endmenu | ||
|
||
choice | ||
prompt "Version" | ||
default PKG_USING_LORA_PKT_FWD_LATEST_VERSION | ||
help | ||
Select the package version | ||
|
||
config PKG_USING_LORA_PKT_FWD_V100 | ||
bool "v1.0.0" | ||
|
||
config PKG_USING_LORA_PKT_FWD_LATEST_VERSION | ||
bool "latest" | ||
endchoice | ||
|
||
config PKG_LORA_PKT_FWD_VER | ||
string | ||
default "v1.0.0" if PKG_USING_LORA_PKT_FWD_V100 | ||
default "latest" if PKG_USING_LORA_PKT_FWD_LATEST_VERSION | ||
endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "lora_pkt_fwd", | ||
"description": "lora_pkt_fwd is lora(wan) packet forward based on Semtech GWMP", | ||
"description_zh": "lora_pkt_fwd实现基于Semtech GWMP协议的LoRaWAN协议包转发", | ||
"enable": "PKG_USING_LORA_PKT_FWD", | ||
"keywords": [ | ||
"lora_pkt_fwd" | ||
], | ||
"category": "iot", | ||
"author": { | ||
"name": "forest-rain", | ||
"email": "[email protected]", | ||
"github": "forest-rain" | ||
}, | ||
"license": "Apache-2.0", | ||
"repository": "https://github.com/Forest-Rain/lora-pkt-fwd", | ||
"icon": "unknown", | ||
"homepage": "https://github.com/Forest-Rain/lora-pkt-fwd#readme", | ||
"doc": "https://github.com/Forest-Rain/lora-pkt-fwd/tree/master/docs", | ||
"site": [ | ||
{ | ||
"version": "v1.0.0", | ||
"URL": "https://github.com/Forest-Rain/lora-pkt-fwd/archive/v1.0.0.zip", | ||
"filename": "lora-pkt-fwd-1.0.0.zip", | ||
"VER_SHA": "705ddaec18f36093a615bc545448eab393af9cf2" | ||
}, | ||
{ | ||
"version": "latest", | ||
"URL": "https://github.com/forest-rain/lora-pkt-fwd.git", | ||
"filename": "Null for git package", | ||
"VER_SHA": "fill in latest version branch name, such as master" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
|
||
# Kconfig file for package lora_pkt_sniffer | ||
menuconfig PKG_USING_LORA_PKT_SNIFFER | ||
bool "lora_pkt_sniffer is a sniffer tool of lora(wan) packets." | ||
default n | ||
|
||
if PKG_USING_LORA_PKT_SNIFFER | ||
|
||
config PKG_LORA_PKT_SNIFFER_PATH | ||
string | ||
default "/packages/iot/lora_pkt_sniffer" | ||
|
||
config LORA_PKT_SNIFFER_USING_WIRESHARK_MODE | ||
bool "Enable Wireshark Mode" | ||
default n | ||
|
||
config PKG_USING_LORA_GW_DRIVER_LIB | ||
bool "Use lora-gw-driver-lib" | ||
default y | ||
|
||
menu "Select lora-pkt-sniffer Debug" | ||
config LORA_PKT_SNIFFER_DEBUG | ||
bool "Enable lora-pkt-sniffer Debug" | ||
default n | ||
|
||
if LORA_PKT_SNIFFER_DEBUG | ||
config LPS_DEBUG_SNF_CONFIG | ||
bool "Enable LPS Sniffer Debug" | ||
default n | ||
config LPS_DBG_SNF | ||
int | ||
default 1 if LPS_DEBUG_SNF_CONFIG | ||
default 0 if !LPS_DEBUG_SNF_CONFIG | ||
|
||
config LPS_DEBUG_SHELL_CONFIG | ||
bool "Enable LPS Shell Debug" | ||
default n | ||
config LPS_DBG_SHELL | ||
int | ||
default 1 if LPS_DEBUG_SHELL_CONFIG | ||
default 0 if !LPS_DEBUG_SHELL_CONFIG | ||
|
||
config LPS_DEBUG_NVM_CONFIG | ||
bool "Enable LPS NVM Debug" | ||
default n | ||
config LPS_DBG_NVM | ||
int | ||
default 1 if LPS_DEBUG_NVM_CONFIG | ||
default 0 if !LPS_DEBUG_NVM_CONFIG | ||
|
||
config LPS_DEBUG_UDP_CONFIG | ||
bool "Enable LPS UDP Debug" | ||
default n | ||
config LPS_DBG_UDP | ||
int | ||
default 1 if LPS_DEBUG_UDP_CONFIG | ||
default 0 if !LPS_DEBUG_UDP_CONFIG | ||
endif | ||
endmenu | ||
|
||
config PKG_LORA_PKT_SNIFFER_VER | ||
string | ||
default "v1.0.0" if PKG_USING_LORA_PKT_SNIFFER_V100 | ||
default "latest" if PKG_USING_LORA_PKT_SNIFFER_LATEST_VERSION | ||
|
||
choice | ||
prompt "Version" | ||
default PKG_USING_LORA_PKT_SNIFFER_LATEST_VERSION | ||
help | ||
Select the package version | ||
|
||
config PKG_USING_LORA_PKT_SNIFFER_V100 | ||
bool "v1.0.0" | ||
|
||
config PKG_USING_LORA_PKT_SNIFFER_LATEST_VERSION | ||
bool "latest" | ||
endchoice | ||
endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "lora_pkt_sniffer", | ||
"description": "lora_pkt_sniffer is a sniffer tool of lora(wan) packet", | ||
"description_zh": "lora_pkt_sniffer是一个lora(wan)数据包的抓包工具", | ||
"enable": "PKG_USING_LORA_PKT_SNIFFER", | ||
"keywords": [ | ||
"lora_pkt_sniffer" | ||
], | ||
"category": "iot", | ||
"author": { | ||
"name": "forest-rain", | ||
"email": "[email protected]", | ||
"github": "forest-rain" | ||
}, | ||
"license": "Apache-2.0", | ||
"repository": "https://github.com/Forest-Rain/lora-pkt-sniffer", | ||
"icon": "unknown", | ||
"homepage": "https://github.com/Forest-Rain/lora-pkt-sniffer#readme", | ||
"doc": "https://github.com/Forest-Rain/lora-pkt-sniffer/tree/master/docs", | ||
"site": [ | ||
{ | ||
"version": "v1.0.0", | ||
"URL": "https://github.com/Forest-Rain/lora-pkt-sniffer/archive/v1.0.0.zip", | ||
"filename": "lora-packet-sniffer-1.0.0.zip", | ||
"VER_SHA": "c2f36a5a4a04478601ac14ed9fc006244dba3936" | ||
}, | ||
{ | ||
"version": "latest", | ||
"URL": "https://github.com/forest-rain/lora-pkt-sniffer.git", | ||
"filename": "lora-packet-sniffer for git package", | ||
"VER_SHA": "fill in latest version branch name, such as master" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.