Flutter USB串口与arduino,未检测到CH340
我正在尝试使用这个包 usb_serial 与我的硬件设备(如 Arduino、Esp8266、Esp32、FTDI 板)进行通信等等,
现在我使用的是带有CH340芯片的板子。设备详细信息与 device_filter.xml
中提到的相匹配
我在这里缺少什么吗,如果你知道,请帮助我。谢谢
I'm trying this package usb_serial to communicate with my hardware devices like Arduino, Esp8266, Esp32, FTDI board, etc.,
Right now I'm using a board with a CH340 chip in it. Device details are matching as mentioned in device_filter.xml
Am I missing somthing here, please help me if you know. Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我找到了解决方案。
在示例代码中,我评论了
subtitle : Text(device.manufacturerName!),
行。原因是我使用的是无品牌的 CH340 芯片,上面没有制造商的名称。
I found the solution.
In the example code I commented
subtitle: Text(device.manufacturerName!),
line.The reason is I was using an unbranded CH340 chip, which did not have the manufacturer's name on it.
我也遇到了这个问题,注释掉字幕行为我解决了这个问题。
PS 我添加了一个空检查......
I too had this problem and commenting out the subtitle line fixed it for me.
P.S. I added a null check instead...