1

I have a USB device that when connected into the computer ends up showing up as 4 Virtual COM ports in the device manager. As far as I know, two of these are never used. One of them is seldom used and one is mostly used. This is from the perspective of the application that is used with this device. I want to see the traffic on these COM ports and find out how this device works. I have Windows 10 64-bits.

I just need to monitor the traffic and no read or write anything myself. I think this is called a "man in the middle" approach. How do this using software on PC?

1 Answer 1

1

I haven’t used it myself but I think com0com or one of the related projects should help

http://com0com.sourceforge.net

In particular, hub4com sounds promising:

The HUB for communications (hub4com) is a Windows application and is a part of the com0com project.

It allows to receive data and signals from one port, modify and send it to a number of ports and vice versa.

In conjunction with the com0com driver the hub4com allows to

  • handle data and signals from a single real serial device by a number of different applications. For example, several applications can share data from one GPS device;
  • use real serial ports of remote computer like if they exist on the local computer.
4
  • Where can I find out more about such programs?
    – quantum231
    Commented Apr 2, 2021 at 19:29
  • @quantum231 follow the link
    – Igor Skochinsky
    Commented Apr 2, 2021 at 19:30
  • See an application already exists and it writes to this virtual COM port. All I need is a "man in the middle" to observer what is being sent either way. It does not seem like the com0com can do this because this program emulates COM ports. Am I wrong?
    – quantum231
    Commented Apr 2, 2021 at 20:13
  • @quantum231 it sounds like hub4com should allow it
    – Igor Skochinsky
    Commented Apr 3, 2021 at 14:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.