T
T
Timofey Bulgarian2020-08-31 16:25:17
Windows
Timofey Bulgarian, 2020-08-31 16:25:17

How to read data from an open COM port (i.e. without opening it)?

You need to make an application that could somehow connect and listen to what is happening on a specific Serial port. You just need to read the messages.
The method with a null physical modem is not suitable, a software solution is needed.
A bunch of com0com and hub4com requires an open physical port.
There are programs like Serial Port Monitor that can do this, but I don’t understand how to implement it yet ..
I write under .NET;

Perhaps there is some kind of method similar to the MITM attack ..

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stalker_RED, 2020-08-31
@Stalker_RED

None of the existing ones fit?

L
lonelymyp, 2020-09-01
@lonelymyp

Open a real port, create a virtual port, transfer data from real to virtual and vice versa.
To configure an initial softina on virtual port.
But it's better to take VSPE, of course, there is api there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question