NineDigit.SerialTransport 1.0.0-beta.6

.NET Standard 2.0
This is a prerelease version of NineDigit.SerialTransport.
NuGet\Install-Package NineDigit.SerialTransport -Version 1.0.0-beta.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package NineDigit.SerialTransport --version 1.0.0-beta.6
<PackageReference Include="NineDigit.SerialTransport" Version="1.0.0-beta.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NineDigit.SerialTransport --version 1.0.0-beta.6
#r "nuget: NineDigit.SerialTransport, 1.0.0-beta.6"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NineDigit.SerialTransport as a Cake Addin
#addin nuget:?package=NineDigit.SerialTransport&version=1.0.0-beta.6&prerelease

// Install NineDigit.SerialTransport as a Cake Tool
#tool nuget:?package=NineDigit.SerialTransport&version=1.0.0-beta.6&prerelease

NineDigit Serial Transport

NuGet version (NineDigit.SerialTransport)

Multiplatform implementation of data exchange over serial port for .net standard and mono platforms.


SerialPortOptions opts = new SerialPortOptions()
    BaudRate = 19200,
    ReadTimeout = TimeSpan.FromSeconds(1),
    WriteTimeout = TimeSpan.FromSeconds(1)
string portName = "/dev/ttyS1"; // e.g. "COM3" for windows

ISerialTransport serialTransport = TransportFactory.CreateSerialTransport(portName, opts, NullLoggerFactory.Instance);

// write data
await serialTransport.WriteAsync(new byte[] { 0x01, 0x02, 0x03 }, CancellationToken.None);

// read data
byte[] response = await serialTransport.ReadAsync(responseLength: 1, CancellationToken.None);
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid monoandroid90
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NineDigit.SerialTransport:

Package Downloads
NineDigit.eKasa The ID prefix of this package has been reserved for one of the owners of this package by

eKasa PPEKK solution by Nine Digit, s.r.o.

NineDigit.eKasa.StorageManagement The ID prefix of this package has been reserved for one of the owners of this package by

No descrpition.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-beta.6 73 8/11/2022
1.0.0-beta.5 127 7/21/2022