TouchSocket.SerialPorts
4.0.4
Prefix Reserved
dotnet add package TouchSocket.SerialPorts --version 4.0.4
NuGet\Install-Package TouchSocket.SerialPorts -Version 4.0.4
<PackageReference Include="TouchSocket.SerialPorts" Version="4.0.4" />
<PackageVersion Include="TouchSocket.SerialPorts" Version="4.0.4" />
<PackageReference Include="TouchSocket.SerialPorts" />
paket add TouchSocket.SerialPorts --version 4.0.4
#r "nuget: TouchSocket.SerialPorts, 4.0.4"
#:package TouchSocket.SerialPorts@4.0.4
#addin nuget:?package=TouchSocket.SerialPorts&version=4.0.4
#tool nuget:?package=TouchSocket.SerialPorts&version=4.0.4
TouchSocket.SerialPorts
项目概述
TouchSocket.SerialPorts 是一个适用于 .Net(涵盖 C#、VB.Net、F#)的整合性串口通信框架。它提供了丰富的串口通信功能,包括串口连接、断开等一系列通信事务处理,同时能一键式解决数据黏分包问题。借助协议模板,可快速实现「固定包头」「固定长度」「区间字符」等多种数据报文解析。
功能特性
- 全面的串口通信支持:支持串口的连接、断开等基本操作,满足常见的串口通信需求。
- 数据黏分包处理:能够自动处理数据黏分包问题,确保数据的准确传输。
- 灵活的报文解析:通过协议模板,可快速实现多种数据报文解析方式。
文档说明
详细的说明文档请访问:https://touchsocket.net/
支持的目标框架
- net481
- net462
- net472
- netstandard2.0
- netstandard2.1
- net6.0
- net10.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 was computed. 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. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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 | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| 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. |
-
.NETFramework 4.6.2
- TouchSocket (>= 4.0.4)
-
.NETStandard 2.0
- System.IO.Ports (>= 6.0.0)
- TouchSocket (>= 4.0.4)
-
.NETStandard 2.1
- System.IO.Ports (>= 6.0.0)
- TouchSocket (>= 4.0.4)
-
net10.0
- System.IO.Ports (>= 8.0.0)
- TouchSocket (>= 4.0.4)
-
net6.0
- System.IO.Ports (>= 8.0.0)
- TouchSocket (>= 4.0.4)
-
net8.0
- System.IO.Ports (>= 8.0.0)
- TouchSocket (>= 4.0.4)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on TouchSocket.SerialPorts:
| Package | Downloads |
|---|---|
|
ThingsGateway.Foundation
Package Description |
|
|
TouchSocket.Modbus
这是一个Modbus功能库,目前包括ModbusTcpMaster、ModbusUdpMaster、ModbusRtuMaster、ModbusRtuOverTcpMaster、ModbusRtuOverUdpMaster。 说明文档:https://touchsocket.net/ |
|
|
Rays.Commlink
仅组织内部使用。提供串口通信、网络通信支持功能的核心库。 |
|
|
WeforsysGateway.Foundation
Package Description |
|
|
Mortal.Mis.Core
WPF框架核心类库 |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on TouchSocket.SerialPorts:
| Repository | Stars |
|---|---|
|
ThingsGateway/ThingsGateway
ThingsGateway is a cross-platform, high-performance gateway for edge data acquisition and IoT connectivity. Developed with .NET 8, it offers a suite of powerful tools, including advanced PLC communication libraries and debugging software.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.4 | 1,372 | 12/21/2025 |
| 4.0.3 | 2,599 | 12/13/2025 |
| 4.0.2 | 4,086 | 12/6/2025 |
| 4.0.1 | 4,503 | 11/30/2025 |
| 4.0.0 | 3,701 | 11/23/2025 |
| 4.0.0-rc.51 | 202 | 11/22/2025 |
| 4.0.0-rc.46 | 1,857 | 11/17/2025 |
| 4.0.0-rc.15 | 1,732 | 11/1/2025 |
| 4.0.0-rc.10 | 950 | 10/30/2025 |
| 4.0.0-rc.5 | 4,943 | 10/26/2025 |
| 4.0.0-rc.1 | 1,756 | 10/22/2025 |
| 4.0.0-beta.140 | 10,168 | 10/18/2025 |
| 4.0.0-beta.120 | 7,864 | 10/12/2025 |
| 4.0.0-beta.96 | 5,578 | 10/5/2025 |
| 4.0.0-beta.80 | 2,880 | 9/28/2025 |
| 4.0.0-beta.70 | 3,670 | 9/26/2025 |
| 4.0.0-beta.57 | 9,693 | 9/21/2025 |
| 4.0.0-beta.28 | 2,481 | 9/17/2025 |
| 4.0.0-beta.27 | 5,658 | 9/11/2025 |
| 4.0.0-beta.25 | 4,736 | 9/7/2025 |
| 4.0.0-beta.13 | 2,140 | 9/4/2025 |
| 4.0.0-beta.6 | 1,494 | 9/1/2025 |
| 3.1.19 | 335 | 10/25/2025 |
| 3.1.18 | 504 | 9/27/2025 |
| 3.1.17 | 660 | 9/9/2025 |
| 3.1.16 | 472 | 8/21/2025 |
| 3.1.15 | 745 | 8/3/2025 |
| 3.1.14 | 5,828 | 7/20/2025 |
| 3.1.13 | 5,454 | 7/14/2025 |
| 3.1.12 | 3,393 | 7/8/2025 |
| 3.1.11 | 21,572 | 6/24/2025 |
| 3.1.10 | 3,343 | 6/23/2025 |
| 3.1.9 | 1,925 | 6/22/2025 |
| 3.1.8 | 9,570 | 6/15/2025 |
| 3.1.7 | 14,857 | 6/8/2025 |
| 3.1.6 | 6,699 | 6/2/2025 |
| 3.1.5 | 15,292 | 5/24/2025 |
| 3.1.4 | 6,588 | 5/20/2025 |
| 3.1.3 | 4,270 | 5/18/2025 |
| 3.1.2 | 6,639 | 5/11/2025 |
| 3.1.1 | 5,976 | 4/29/2025 |
| 3.1.0 | 4,724 | 4/26/2025 |
| 3.0.26 | 3,560 | 4/20/2025 |
| 3.0.25 | 6,109 | 4/12/2025 |
| 3.0.24 | 6,609 | 4/7/2025 |
| 3.0.23 | 2,392 | 4/6/2025 |
| 3.0.20 | 9,336 | 3/30/2025 |
| 3.0.19 | 13,366 | 3/23/2025 |
| 3.0.18 | 9,605 | 3/16/2025 |
| 3.0.17 | 4,163 | 3/12/2025 |
| 3.0.16 | 4,119 | 3/9/2025 |
| 3.0.15 | 12,950 | 3/2/2025 |
| 3.0.14 | 14,742 | 2/15/2025 |
| 3.0.13 | 11,447 | 1/27/2025 |
| 3.0.12 | 10,094 | 1/19/2025 |
| 3.0.11 | 400 | 1/12/2025 |
| 3.0.10 | 2,200 | 1/5/2025 |
| 3.0.9 | 5,915 | 12/22/2024 |
| 3.0.8 | 4,525 | 12/15/2024 |
| 3.0.7 | 4,005 | 12/8/2024 |
| 3.0.6 | 3,035 | 12/1/2024 |
| 3.0.4 | 1,919 | 11/24/2024 |
| 3.0.3 | 3,860 | 11/17/2024 |
| 3.0.1 | 992 | 11/14/2024 |
| 3.0.0 | 981 | 11/13/2024 |
| 2.1.10 | 3,858 | 10/25/2024 |
| 2.1.0 | 713 | 9/15/2024 |
| 2.1.0-alpha.31 | 859 | 7/7/2024 |
| 2.1.0-alpha.30 | 117 | 7/5/2024 |
| 2.1.0-alpha.28 | 108 | 7/4/2024 |
| 2.1.0-alpha.27 | 138 | 7/3/2024 |
| 2.1.0-alpha.26 | 1,140 | 6/29/2024 |
| 2.1.0-alpha.23 | 447 | 6/28/2024 |
| 2.0.18 | 525 | 9/10/2024 |
| 2.0.17 | 545 | 8/30/2024 |
| 2.0.16 | 438 | 8/19/2024 |
| 2.0.15 | 484 | 8/9/2024 |
| 2.0.14 | 400 | 7/24/2024 |
| 2.0.12 | 422 | 7/17/2024 |
| 2.0.11 | 365 | 7/12/2024 |
| 2.0.10 | 705 | 5/31/2024 |
| 2.0.0 | 408 | 3/9/2024 |