-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
DriversDrivers used to support Arduino boards on the computerDrivers used to support Arduino boards on the computerType: BugType: InvalidOff topic for this repository, or a bug report determined to not actually represent a bugOff topic for this repository, or a bug report determined to not actually represent a bug
Description
I have two Arduino Uno R3. A fake (CH340G) one and a real one.
I made an app to interact with it by the SerialPort object from System.IO.Ports library in C#
By adding a check on IsOpen every time I read or write data, there should be no problem.
Just realized that with the real Arduino when I unplug the device, the system does not know that the port is closed, so the port appear as still open, which causes a lot of problems.
But with the same sketch and app on the fake, CH340G one, everything works fine. On unplug, the system knows that and the port is closed.
The driver should tell the OS that the serial port is closed after USB unplug.
Metadata
Metadata
Assignees
Labels
DriversDrivers used to support Arduino boards on the computerDrivers used to support Arduino boards on the computerType: BugType: InvalidOff topic for this repository, or a bug report determined to not actually represent a bugOff topic for this repository, or a bug report determined to not actually represent a bug