Skip to content

将串口通讯通过TCP连接共享出来,未连接服务器的情况可以局域网内部连接,连接服务器后可以通过房间号连接客户端的串口。

License

Notifications You must be signed in to change notification settings

Elinpf/NetSerial_Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetSerial

简介

NetSerial是一款可以通过TCP连接传输串口通讯的工具,支持Windows 以及 Linux

多会话连接同时可以操作一个Serial。

当连接服务器端后,远端设备可以通过服务器端连接到Client端串口。

安装方法

git clone https://github.com/Elinpf/NetSerial_Client.git
cd NetSerial_Client
pip install -r requirements.txt

配置

打开custom.json文件,修改所需配置。

  • "SERIAL_DEVICE": "COM3" # 串口名
  • "SSH_SERVER_IP_ADDRESS": "127.0.0.1" # 修改为连接服务器地址
  • "SSH_SERVER_PORT": 2200 # 服务器连接端口
  • "SSH_SERVER_USERNAME": "bar" # 连接服务器用户名
  • "SSH_SERVER_PASSWORD": "foo" # 连接服务器密码

使用方法

cd NetSerial_Client
python ./start.py

使用ctrl-m可以打开菜单

TODO

About

将串口通讯通过TCP连接共享出来,未连接服务器的情况可以局域网内部连接,连接服务器后可以通过房间号连接客户端的串口。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages