获取 COMx 端口的供应商和产品 ID

发布于 2025-01-16 10:52:41 字数 176 浏览 1 评论 0原文

我知道如何在 C 语言中使用 CreateFile 等与 Arduino 型微控制器进行通信,现在我想知道设备的供应商和产品 ID 及其“COMx”端口号。是否可以 ? 可选:是否可以使用此“COMx”端口号获取 Windows 设备管理器中列出的名称? 谢谢 大卫

我一直在搜索与设备通信的通讯关键字,但没有找到任何东西。

I know how to use CreateFile, etc... in C to communicate with a Arduino-type microcontroller, now I would like to know the vendor and product IDs of the device with its "COMx" port number. Is it possible ?
Optional: is it possible to get the name as listed in the Windows device manager with this "COMx" port number?
Thanks
David

I have been searching around the comm keywords to communicate with the device, but didn't find anything.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文