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