Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
tcp-to-serial-lora
Advanced tools
接收tcp-socket数据,包装成lora开发板向服务器发送数据指令,通过串口向开发板发送指令,实现数据转发至lora服务器
一个可以接收tcp-socket数据,并对数据进行包装,通过串口将数据发送至lora开发板,开发板通过lora网关,实现tcp数据转发至lora服务器的命令行工具,项目依赖node以及npm平台。
NPM:
github:
npm install tcp-to-serial-lora -g
安装后使用命令行:
tcp-to-serial-lora -p 30001 -s COM3
或下载源码直接进入根目录运行:
npm install
node tcp-to-serial-lora -p 30001 -s COM3
命令:
Usage: tcp-to-serial-lora [options]
tcp转串口向lora开发板发送网关上行指令的程序
Options:
-V, --version 查看当前版本
-p, --port [Number] tcp服务端口
-s, --serialPort [String] 串口端口名称
-c, --config [File Path] 配置文件
-h, --help 输出帮助信息
在根目录下创建default_config.json
:
{
"TCP_PORT":30001,//tcp服务端口
"serialPortName":"COM3"//串口端口名称
}
ps:若不使用配置文件,运行必须携带-p
与-s
参数
telnet 127.0.0.1 30001
键盘输入,观察lora服务器节点消息即可
FAQs
接收tcp-socket数据,包装成lora开发板向服务器发送数据指令,通过串口向开发板发送指令,实现数据转发至lora服务器
We found that tcp-to-serial-lora demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.