docs(windows): add NSSM service option and gensiot native client
Document NSSM (fawno/nssm.cc rebuild) as an alternative to WinSW for wrapping frpc/ser2net, with a WinSW-vs-NSSM recommendation. Add gensiot as a native RFC 2217 client alongside pySerial, noting it is optional for a server-only deployment. Update references. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -42,6 +42,16 @@ py -m serial.tools.miniterm "rfc2217://FRPS_HOST:2217" 9600
|
||||
rfc2217://FRPS_HOST:2217?poll_modem
|
||||
```
|
||||
|
||||
## 备选:gensio 原生客户端 gensiot
|
||||
|
||||
如果不想依赖 Python,也可以用 gensio 自带的命令行工具 [`gensiot`](https://man.archlinux.org/man/extra/gensio/gensiot.1.en)([gensio](https://github.com/cminyard/gensio) 项目的一部分,随 Windows 版 gensio 安装包一起提供)。它是原生的 RFC 2217 客户端,同样能控制波特率、停止位等串口参数:
|
||||
|
||||
```bash
|
||||
gensiot 'telnet(rfc2217),tcp,FRPS_HOST,2217'
|
||||
```
|
||||
|
||||
普通 `telnet` 命令不支持 RFC 2217,因此不能用来验证串口参数控制。本手册只部署服务器,客户端工具(pySerial 或 `gensiot`)仅用于验证链路,任选其一即可。
|
||||
|
||||
## 显式测试远程波特率修改
|
||||
|
||||
保存并运行以下 Python 脚本:
|
||||
|
||||
Reference in New Issue
Block a user