|
elechiOct 22, 2025
1
https://github.com/bugst/go-serial
没有完美的,这个相对还行,有啥问题自己 fork 后修改下 |
|
2
https://github.com/bugst/go-serial/issues/148
我使用中觉得不方便的就是这个问题,自己 fork 后修改下就行 |
|
edieruby4Oct 22, 2025
3
|
|
ca2oh4Oct 23, 2025
4
go 写嵌入式不觉得有点蹩脚吗,不如直接一步到位 用 rust
|
|
hmuhaoOct 23, 2025
8
用 https://github.com/bugst/go-serial 这个包的话读串口可以考虑一个字节一个字节的读,直到 timeout 或者读到的数据长度为 0 ,就算读取完毕了,再校验数据包
|
|
9
|