Open panterlo opened 9 years ago
Yes, we are still having trouble on the closing of ports. It seems to work great on Windows, but it looks like you may have found an instance where it doesn't. A change was made recently to fix something on the Mac, but it may have caused further issues on Windows. There's no great serial port code for golang out there so this is a trial/error process. I will say, I'm still glad I built this in golang. It's worth dealing with some of these other issues. Any thoughts you might have would help. What version of Windows were you on?
Windows 2012 R2, I can see similar issues actually in C# and C++ apps running with serial ports on Windows so it may be something in the Windows API
This is a great slim Serial -> Web Socket project. The close commands seems to be broke, at least on Windows. Can't close the port,
open COM1 115200 tinyg Opening serial port COM1 at 115200 baud . . . close COM1 {"Error" : "We could not find the serial port COM1 that you were trying to close."}