CSerialPort跨平台串口类库 v4.3.0

CSerialPort跨平台串口类库

  • 源码大小:1.2MB
  • 源码语言:简体中文
  • 源码类型:国产软件
  • 源码授权:免费软件
  • 源码类别:C#源码
  • 应用平台:Windows平台
  • 源码官网:
  • 更新时间:2023-02-27
  • 网友评分:
360通过 腾讯通过 金山通过

情介绍

 CSerialPort是一个基于C++的轻量级开源跨平台串口类库,可以轻松实现跨平台多操作系统的串口读写。

Design Principles 设计原则

跨平台

简单易用

高效

Platform 平台

CSerialPort已经在以下平台做过测试:

DOS ( x86_64 )

Windows ( x86_64 )

Linux ( x86_64, aarch64, mips64el, s390x, ppc64le )

macOS ( x86_64 )

Raspberry Pi ( armv7l )

FreeBSD ( x86_64 )

 

Todo List 待处理事项

Strategic Goal 战略目标

1.首先支持windows和linux平台

2.增加通用串口通信协议

3.支持热插拔

4.更高效的通知模块

5.支持其他语言,如C, C#, Python, Java, Golang等

6.同步串口通信

7.全新的跨平台串口调试助手

8.增加一个类库的介绍和使用视频

9.串口侦听hook

 

Short-term Goal 短期目标

1.跨平台操作系统识别库

2.跨平台多线程类库

3.跨平台锁类库

4.跨平台高效定时器类库

5.性能测试报告(吞吐量、时延、丢包率)

 

Last Modify 最新版本

Version: 4.1.0.201010

by itas109 on 2020-10-10

 

Quick Start 快速开始

$ git clone --depth=1 https://github.com/itas109/CSerialPort.git
$ cd CSerialPort
$ mkdir bin && cd bin
$ cmake ..
$ cmake --build .

Screenshot 截图

Gui 图形用户界面

示例路径: CSerialPort/examples/CommQT

Tui 终端用户界面

示例路径: CSerialPort/examples/CommTui

No Gui 无界面

示例路径: CSerialPort/examples/CommNoGui

当前版本
v4.2.0

更新内容
CSerialPort v4.1.0.201010
lightweight, cross-platform, and efficient serial port library
轻量级、跨平台、高效的串口类库
Fixed:

#29 windows xp unable to locate the program input point in msvcrt.dll 无法定位程序输入点于msvcrt.dll
#30 _T() cannot convert 'const char*' to 'LPCWSTR
#39 fix getPortInfoList crash on unix(not linux and mac os) 修复unix系统(非linux和macos)getPortInfoList引起的崩溃问题
#40 fix vs2008 vs2010 Cannot open include file: 'ntddser.h' 修复msvc无法找到ntddser.h问题

Feature:

header files is separated into include directory 头文件独立到include文件夹
add Tui Demo based pdcurses and ncurses 增加基于pdcurses和ncurses的tui示例
use cmake compile CSerialPort 使用cmake编译
add cmake install 增加cmake安装
add cppcheck file 增加cppcheck代码检测文件
add clang-format 增加clang-format代码格式化
add travis ci and appveyor ci 增加travis和appveyor持续集成

Remove:

remove function init of integer port 移除init整型串口函数
remove function availablePorts and availableFriendlyPorts 移除availablePorts和availablePorts函数

v4.3.0

更新内容
lightweight cross-platform serial port library for C/C++/C#/Java/Python/Node.js
轻量级、跨平台串口类库,支持C/C++/C#/Java/Python/Node.js

Feature:
读取缓冲区大小默认为4096字节
读取超时间隔默认0ms,即实时接收
支持vcpkg安装CSerialPort
新增wxWidgets示例程序

Experimental:
新的事件通知类CSerialPortListener(宏定义USE_CSERIALPORT_LISTENER开启)
支持C#(CSharp)调用CSerialPort
支持Java调用CSerialPort
支持Python调用CSerialPort
支持JavaScript调用CSerialPort

载地址

下载错误?【投诉报错】

CSerialPort跨平台串口类库 v4.3.0

      气源码

      关文章

      载声明

      ☉ 解压密码:www.jb51.net 就是本站主域名,希望大家看清楚,[ 分享码的获取方法 ]可以参考这篇文章
      ☉ 推荐使用 [ 迅雷 ] 下载,使用 [ WinRAR v5 ] 以上版本解压本站软件。
      ☉ 如果这个软件总是不能下载的请在评论中留言,我们会尽快修复,谢谢!
      ☉ 下载本站资源,如果服务器暂不能下载请过一段时间重试!或者多试试几个下载地址
      ☉ 如果遇到什么问题,请评论留言,我们定会解决问题,谢谢大家支持!
      ☉ 本站提供的一些商业软件是供学习研究之用,如用于商业用途,请购买正版。
      ☉ 本站提供的CSerialPort跨平台串口类库 v4.3.0资源来源互联网,版权归该下载资源的合法拥有者所有。