-
Feb 3rd, 2023, 02:37 PM
#1
Thread Starter
Member
Identifying 'USB Com Ports'
Hi All,
I have a legacy hardware design that I recently 'updated' with a USB interface using an FTDI Serial-to-USB IC. These COM ports show up in the Windows Device Manager as 'USB Serial Port (COMx)'. Of course I can identify active COM ports and communicate with them using my existing code, but I would like to go beyond that, and actually identify the USB Serial Ports. I don't see that MSCOMM allows me access to this additional information. How would I go about obtaining this information?
Thanks,
John
-
Feb 3rd, 2023, 04:21 PM
#2
Re: Identifying 'USB Com Ports'
-
Feb 3rd, 2023, 05:58 PM
#3
Thread Starter
Member
Re: Identifying 'USB Com Ports'
Hi,
Sorry, I should have been more clear. I mean not just find available COM ports, which I can do now, but also return the textual description displayed by the Device Manager.
It looks like the EnumPorts class will do what I need! I'll investigate on Monday, and close the thread if I'm successful!
Thanks!
John
-
Feb 3rd, 2023, 07:45 PM
#4
Re: Identifying 'USB Com Ports'
Or perhaps use it as an example to help write your own code to call those APIs.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|