首页  软件  游戏  图书  电影  电视剧

请输入您要查询的软件:

 

软件 CSerialPort跨平台串口类库 v4.3.0 
内容

 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,跨平台,串口类库
缩略图
软件名称 CSerialPort跨平台串口类库 v4.3.0
软件图标
软件大小 1.2MB
发布时间
软件平台
软件语言 简体中文
软件授权 免费软件
操作系统 Windows平台
系统类型
用户评分 4
软件版本
官方网站
官方网址
软件截图
软件总类 源码系统
软件大类 源码下载-软件开发-C#源码-CSerialPort跨平台串口类库
软件小类 C#源码
开发者
主办单位名称
ICP备案名
备案号
使用年龄
下载链接
攻略教程
详细介绍
操控设备
隐私政策
查看权限
敏感权限获取说明
软件类型 国产软件
安全警示 适度休息有益身心健康,请勿长期沉迷于使用电脑或刷手机。
随便看

 

传承兰台文化,共同保存历史记忆!兰台网收藏软件、游戏、图片、图书、电影、电视剧等互联网档案,是免费和可借阅文本、电影、音乐等档案的数字图书馆。

 

Copyright © 2004-2025 xlantai.com All Rights Reserved
更新时间:2025/5/21 12:44:38