Grumson.cSharp.Serial
1.0.0.2
See the version list below for details.
dotnet add package Grumson.cSharp.Serial --version 1.0.0.2
NuGet\Install-Package Grumson.cSharp.Serial -Version 1.0.0.2
<PackageReference Include="Grumson.cSharp.Serial" Version="1.0.0.2" />
paket add Grumson.cSharp.Serial --version 1.0.0.2
#r "nuget: Grumson.cSharp.Serial, 1.0.0.2"
// Install Grumson.cSharp.Serial as a Cake Addin #addin nuget:?package=Grumson.cSharp.Serial&version=1.0.0.2 // Install Grumson.cSharp.Serial as a Cake Tool #tool nuget:?package=Grumson.cSharp.Serial&version=1.0.0.2
Grumson Serial
PROPERTIES with defoult values:
string Name int BaudRate = 9600; int DataBits = 8; EStopBits StopBits = EStopBits.One; EParity Parity = EParity.None;
bool RtsEnable = true; bool DtrEnable = false; int ReadTimeout = 4000; int WriteTimeout = 6000;
VALUES TO CHOOSE FROM:
enum EStopBits { None, One, OnePointFive, Two } enum EParity { Even, Odd, None, Mark, Space } string[] BaudeRatesList = { "300", "600","1200", "2400", "4800", "7200", "9600", "14400", "19200", "38400", "56000", "57600", "115200", "128000", "230400", "256000", "460800" }; string[] DataBitsList = { "5", "6", "7", "8"};
EVENTS: // event for every byte that come in delegate void DataReceived( object s , byte e); DataReceived DataReceivedEvent
METHODS:
// GET PORTS string[] GetPorts()
// CONNECT bool Connect(string portName)
// CONNECT bool Connect(string portName, int baudRate, int dataBits, EStopBits stopBits, EParity parity)
// DISCONNECT SERIAL PORT bool Disconnect()
// SEND DATA bool Send(string str)
// SEND DATA from byte Buffer bool Send(byte[] data)
// SEND DATA bool Send(int number)
// SEND DATA bool Send(long number)
// SEND DATA bool Send(byte data)
// IS CONNECTED bool IsConnected()
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Bug fix