SimpleSerialManager 1.0.0
See the version list below for details.
dotnet add package SimpleSerialManager --version 1.0.0
NuGet\Install-Package SimpleSerialManager -Version 1.0.0
<PackageReference Include="SimpleSerialManager" Version="1.0.0" />
paket add SimpleSerialManager --version 1.0.0
#r "nuget: SimpleSerialManager, 1.0.0"
// Install SimpleSerialManager as a Cake Addin #addin nuget:?package=SimpleSerialManager&version=1.0.0 // Install SimpleSerialManager as a Cake Tool #tool nuget:?package=SimpleSerialManager&version=1.0.0
Simple Serial Manager
This is just a simple implementation of System.IO.Ports library (opens new window), easy and fast to implement in your project. Simple Serial Manager is designed for simple scenarios when you need to manage serial ports fastly. If you need to manage ports with advenced concepts and requierements, please use the microsoft library.
Inspiration
As a software developer, I have faced multiple situations where I have had to implement serial ports. Tired of reimplementing the same lines of code all the time (Despite only having to copy and paste code from my private blog), I decided to simplify this process by creating a library that allows me and allows to other developers who can relate to this situation, to implement serial communication in a short period of time and in a simple way.
Features
The following are the features supported by this library:
- Search for available serial ports connected in the device.
- Open an available serial port to start data transfer.
- Event to manage received data in real time.
- Get received data bytes length.
- Get received data string.
- Get received data in a byte array.
- Check if port is open.
- Close port.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
-
net6.0-windows7.0
- System.IO.Ports (>= 7.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
v1.0.0
Initial release that added the following features:
- Search for available serial ports connected in the device.
- Open an available serial port to start data transfer.
- Event to manage received data in real time.
- Get received data bytes length.
- Get received data string.
- Get received data in a byte array.
- Check if port is open.
- Close port.