NineDigit.SerialTransport 1.0.0-beta.7

Prefix Reserved
This is a prerelease version of NineDigit.SerialTransport.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NineDigit.SerialTransport --version 1.0.0-beta.7                
NuGet\Install-Package NineDigit.SerialTransport -Version 1.0.0-beta.7                
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.
<PackageReference Include="NineDigit.SerialTransport" Version="1.0.0-beta.7" />                
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.7                
#r "nuget: NineDigit.SerialTransport, 1.0.0-beta.7"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.7&prerelease

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

NineDigit Serial Transport

NuGet version (NineDigit.SerialTransport)

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

Usage

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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid90 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

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

Package Downloads
NineDigit.eKasa.StorageManagement

No descrpition.

NineDigit.ChduLite

Communication library for CHDÚ Lite device.

NineDigit.ChduTech

Communication library for CHDÚ Tech device.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 1,075 9/21/2023
1.0.0-beta.12 73 8/16/2023
1.0.0-beta.7 580 11/22/2022
1.0.0-beta.6 730 8/11/2022
1.0.0-beta.5 489 7/21/2022