genielabs / serialport-lib-dotnet

Serial Port libray for .Net / Mono
https://www.nuget.org/packages/SerialPortLib/
Apache License 2.0
157 stars 65 forks source link

Readline, ConnectionStatusChange Specification #28

Open aelmendorf opened 8 months ago

aelmendorf commented 8 months ago

Add a ReadLine option, added a ConnectionEventType enum for specifying status change, and added a ConnectionStatusChangedEvent event fire when the connection is interrupted and trying to reconnect(only fires once per interruption).

Also, I apologize for the format changes, I mistakenly hit format code and it converted the entire codebase to my format settings