SimplySerial icon indicating copy to clipboard operation
SimplySerial copied to clipboard

Is it possible to connect to named pipe such as \\.\pipe\mypipe?

Open marco20240618 opened this issue 8 months ago • 3 comments

Is it possible to connect to named pipe such as \.\pipe\mypipe?

marco20240618 avatar May 25 '25 07:05 marco20240618

It's not currently possible, as SimplySerial is built around the SerialPort class and deals with hardware interfaces. I'm not really familiar with named pipes, but my understanding is that they're generally used for inter-process (software-to-software) communications. Do you have a use case you're able to share?

fasteddy516 avatar May 27 '25 15:05 fasteddy516

Yes, I have a use case.

I have a hyper-v virtual machine, I want to connect to the vm with serial console.

Image

Putty's plink can do the work like this:

Image

But I prefer SimplySerial.

marco20240618 avatar May 30 '25 02:05 marco20240618

I would not recommend this change to SimplySerial. This software was intended for Arduino CircuitPython devices but works well with any Arduino, ESP32, or other similar devices and only serial protocols. Extending to handle pipes, then IP, then Bluetooth....It would bloat up too much.

I recommend closing this issue as beyond the scope of the app. Anyone is free to clone this and compile their own variation.

markeby avatar Oct 12 '25 20:10 markeby