Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this library also do the reverse? #286

Open
HerrNamenlos123 opened this issue Jul 11, 2023 · 0 comments
Open

Can this library also do the reverse? #286

HerrNamenlos123 opened this issue Jul 11, 2023 · 0 comments

Comments

@HerrNamenlos123
Copy link

HerrNamenlos123 commented Jul 11, 2023

I might have a bit strange question: Can this library be used to do the opposite of what most people use it for? I am thinking about simulating a serial port. You could have one C++ instance connecting to a device, and another C++ instance pretending it IS the device, I think this would involve opening a Virtual COM port and simulating a real device, then both of them could talk to each other on the same PC, almost like a serial localhost. I hope that makes sense. I would use it to simulate a microcontroller interface, to test the code on a PC before actually loading the code onto a real microcontroller.

Is this kind of operation possible using this library? Or is there another modern library which is able to do that?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant