TouchSocket.SerialPorts
3.0.16
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
dotnet add package TouchSocket.SerialPorts --version 3.0.16
NuGet\Install-Package TouchSocket.SerialPorts -Version 3.0.16
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="TouchSocket.SerialPorts" Version="3.0.16" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TouchSocket.SerialPorts --version 3.0.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TouchSocket.SerialPorts, 3.0.16"
#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 TouchSocket.SerialPorts as a Cake Addin #addin nuget:?package=TouchSocket.SerialPorts&version=3.0.16 // Install TouchSocket.SerialPorts as a Cake Tool #tool nuget:?package=TouchSocket.SerialPorts&version=3.0.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TouchSocket.SerialPorts
项目概述
TouchSocket.SerialPorts 是一个适用于 .Net(涵盖 C#、VB.Net、F#)的整合性串口通信框架。它提供了丰富的串口通信功能,包括串口连接、断开等一系列通信事务处理,同时能一键式解决数据黏分包问题。借助协议模板,可快速实现「固定包头」「固定长度」「区间字符」等多种数据报文解析。
功能特性
- 全面的串口通信支持:支持串口的连接、断开等基本操作,满足常见的串口通信需求。
- 数据黏分包处理:能够自动处理数据黏分包问题,确保数据的准确传输。
- 灵活的报文解析:通过协议模板,可快速实现多种数据报文解析方式。
文档说明
详细的说明文档请访问:https://touchsocket.net/
支持的目标框架
- net481
- net45
- net462
- net472
- netstandard2.0
- netstandard2.1
- net6.0
- net9.0
- net8.0
贡献与反馈
如果你在使用过程中遇到问题或有任何建议,欢迎提交 issue 或参与项目贡献。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.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 is compatible. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 is compatible. |
MonoAndroid | monoandroid was computed. |
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.
-
.NETFramework 4.5
- TouchSocket (>= 3.0.16)
-
.NETFramework 4.6.2
- System.IO.Ports (>= 8.0.0)
- TouchSocket (>= 3.0.16)
-
.NETFramework 4.7.2
- System.IO.Ports (>= 8.0.0)
- TouchSocket (>= 3.0.16)
-
.NETFramework 4.8.1
- TouchSocket (>= 3.0.16)
-
.NETStandard 2.0
- System.IO.Ports (>= 8.0.0)
- TouchSocket (>= 3.0.16)
-
.NETStandard 2.1
- System.IO.Ports (>= 8.0.0)
- TouchSocket (>= 3.0.16)
-
net6.0
- System.IO.Ports (>= 8.0.0)
- TouchSocket (>= 3.0.16)
-
net8.0
- System.IO.Ports (>= 8.0.0)
- TouchSocket (>= 3.0.16)
-
net9.0
- System.IO.Ports (>= 8.0.0)
- TouchSocket (>= 3.0.16)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on TouchSocket.SerialPorts:
Package | Downloads |
---|---|
ThingsGateway.Foundation
工业设备通讯协议-基础类库 |
|
TouchSocket.Modbus
这是一个Modbus功能库,目前包括ModbusTcpMaster、ModbusUdpMaster、ModbusRtuMaster、ModbusRtuOverTcpMaster、ModbusRtuOverUdpMaster。 说明文档:https://touchsocket.net/ |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on TouchSocket.SerialPorts:
Repository | Stars |
---|---|
RRQM/TouchSocket
TouchSocket is an integrated .NET networking framework that includes modules for socket, TCP, UDP, SSL, named pipes, HTTP, WebSocket, RPC, and more. It offers a one-stop solution for TCP packet issues and enables quick implementation of custom data message parsing using protocol templates.
|
|
ThingsGateway/ThingsGateway
ThingsGateway is a cross platform high-performance edge acquisition gateway based on Net8, providing underlying PLC communication libraries, communication debugging software, and more.
|
Version | Downloads | Last updated |
---|---|---|
3.0.16 | 4 | 3/9/2025 |
3.0.15 | 2,222 | 3/2/2025 |
3.0.14 | 7,728 | 2/15/2025 |
3.0.13 | 6,012 | 1/27/2025 |
3.0.12 | 5,259 | 1/19/2025 |
3.0.11 | 245 | 1/12/2025 |
3.0.10 | 1,288 | 1/5/2025 |
3.0.9 | 3,519 | 12/22/2024 |
3.0.8 | 2,655 | 12/15/2024 |
3.0.7 | 2,399 | 12/8/2024 |
3.0.6 | 1,849 | 12/1/2024 |
3.0.5 | 219 | 12/1/2024 |
3.0.4 | 1,188 | 11/24/2024 |
3.0.3 | 2,301 | 11/17/2024 |
3.0.2 | 160 | 11/15/2024 |
3.0.1 | 596 | 11/14/2024 |
3.0.0 | 578 | 11/13/2024 |
2.1.10 | 2,440 | 10/25/2024 |
2.1.0 | 462 | 9/15/2024 |
2.1.0-rc.37 | 82 | 9/13/2024 |
2.1.0-alpha.31 | 560 | 7/7/2024 |
2.1.0-alpha.30 | 78 | 7/5/2024 |
2.1.0-alpha.28 | 68 | 7/4/2024 |
2.1.0-alpha.27 | 62 | 7/3/2024 |
2.1.0-alpha.26 | 783 | 6/29/2024 |
2.1.0-alpha.23 | 292 | 6/28/2024 |
2.0.18 | 315 | 9/10/2024 |
2.0.17 | 386 | 8/30/2024 |
2.0.16 | 322 | 8/19/2024 |
2.0.15 | 365 | 8/9/2024 |
2.0.14 | 222 | 7/24/2024 |
2.0.13 | 169 | 7/23/2024 |
2.0.12 | 326 | 7/17/2024 |
2.0.11 | 238 | 7/12/2024 |
2.0.10 | 562 | 5/31/2024 |
2.0.0 | 292 | 3/9/2024 |
2.0.0-rc.2 | 75 | 3/7/2024 |
2.0.0-beta.280 | 85 | 3/2/2024 |