【文件属性】:
文件名称:remote-serial-port-server:使用带有WebSockets和REST API的HTTP服务器通过以太网的串行端口
文件大小:65KB
文件格式:ZIP
更新时间:2021-05-16 10:20:45
JavaScript
介绍
使用带有WebSockets和REST API的HTTP服务器通过以太网的串行端口。
NOTE: This is an early version of the script - not yet ready for production environment. Please be patient.
入门
安装软件包:
npm install -g remote-serial-port-server
启动服务器:
remote-serial-port-server --port 5147
在网络浏览器中打开:
http://localhost:5147/
特征
远程列出和控制串行端口
REST API
WebSocket到串口
TCP或UDP套接字到串行端口
简单的网页界面
监控流量
共享串行端口(将多个客户端连接到单个串行端口)
命令行
Usage:
remo
【文件预览】:
remote-serial-port-server-master
----.gitignore(529B)
----README.md(5KB)
----views()
--------index.ejs(25KB)
--------error.ejs(277B)
----bin()
--------remote-serial-port-server.js(44B)
----server.js(10KB)
----test()
--------test.html(1KB)
--------echo.js(251B)
--------test.bat(2KB)
----LICENSE(1KB)
----package.json(874B)
----wiki()
--------screenshot-web-interface.png(43KB)
----lib()
--------tcp.js(4KB)
--------util.js(2KB)
--------webserver.js(10KB)
--------echo.js(2KB)
--------udp.js(4KB)
--------index.js(174B)
--------websocket.js(4KB)
----API.md(4KB)