From 59208942d6761e5f9c577af44d405f7819a96d21 Mon Sep 17 00:00:00 2001 From: itas109 Date: Fri, 24 Jan 2025 18:48:59 +0800 Subject: [PATCH] doc(VERSION): update to 4.3.2 Signed-off-by: itas109 --- README.md | 13 +++++++------ README_zh_CN.md | 13 +++++++------ VERSION | 2 +- include/CSerialPort/SerialPort_version.h | 4 ++-- src/SerialPort.cpp | 2 +- 5 files changed, 18 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 21c7983..0e3075a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # [CSerialPort](https://github.com/itas109/CSerialPort) +[](https://api.gitsponsors.com/api/badge/link?p=nHYln+gta+JEeicvjCGX4KX2vDIlnp1lmbeYatCDP4TB9RjTB3u72ErofmFq7HMIPmQ4P97huG4wQgwTeyO9W4Jn+NET4WFZq0dtVs+Y6uB2BKFQ8576OJr4KAZsu4RMfO9ANvXNJebpIZyuV+Ex8w==) [中文](README_zh_CN.md) @@ -28,8 +29,7 @@ CSerialPort was tested on the following platforms - Windows ( x86, x86_64, arm64 ) - Linux ( x86, x86_64, arm, arm64/aarch64, mips64el, riscv, s390x, ppc64le ) -- macOS ( x86_64 ) -- Raspberry Pi ( armv7l ) +- macOS ( x86_64, apple silicon ) - FreeBSD ( x86_64 ) - ... @@ -58,8 +58,8 @@ CSerialPort was tested on the following platforms # Latest version -## Version: 4.3.1.240204 -by itas109 on 2024-02-04 +## Version: 4.3.2.250203 +by itas109 on 2025-02-03 # Quick Start @@ -75,7 +75,7 @@ run demo ( for example serial port lookback test on linux) ``` CSerialPort/bin $ ./CSerialPortDemoNoGui -Version: https://github.com/itas109/CSerialPort - V4.3.1.240204 +Version: https://github.com/itas109/CSerialPort - v4.3.2.250203 AvailableFriendlyPorts: 1 - /dev/ttyUSB0 QinHeng CH340 serial converter 1a86:7523 @@ -228,4 +228,5 @@ Thanks for [Remon Spekreijse's serial library](http://www.codeguru.com/cpp/i-n/n # License CSerialPort v3.0.0.171216 - v4.3.1.240204 is licensed under the LGPLv3 -CSerialPort v4.3.2 - latest is licensed under the [LGPLv3 with LGPL-3.0-linking-exception](LICENSE) \ No newline at end of file + +CSerialPort v4.3.2.250203 - latest is licensed under the [LGPLv3 with LGPL-3.0-linking-exception](LICENSE) \ No newline at end of file diff --git a/README_zh_CN.md b/README_zh_CN.md index 6ae699f..468d440 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -1,4 +1,5 @@ # [CSerialPort](https://github.com/itas109/CSerialPort) +[](https://api.gitsponsors.com/api/badge/link?p=nHYln+gta+JEeicvjCGX4KX2vDIlnp1lmbeYatCDP4TB9RjTB3u72ErofmFq7HMIPmQ4P97huG4wQgwTeyO9W4Jn+NET4WFZq0dtVs+Y6uB2BKFQ8576OJr4KAZsu4RMfO9ANvXNJebpIZyuV+Ex8w==) [English](README.md) @@ -28,8 +29,7 @@ CSerialPort已经在以下平台做过测试 - Windows ( x86, x86_64, arm64 ) - Linux ( x86, x86_64, arm, arm64/aarch64, mips64el, riscv, s390x, ppc64le ) -- macOS ( x86_64 ) -- Raspberry Pi ( armv7l ) +- macOS ( x86_64, apple silicon ) - FreeBSD ( x86_64 ) - ... @@ -59,8 +59,8 @@ CSerialPort已经在以下平台做过测试 # Latest version 最新版本 -## Version: 4.3.1.240204 -by itas109 on 2024-02-04 +## Version: 4.3.2.250203 +by itas109 on 2025-02-03 # Quick Start 快速开始 @@ -76,7 +76,7 @@ $ cmake --build . ``` CSerialPort/bin $ ./CSerialPortDemoNoGui -Version: https://github.com/itas109/CSerialPort - V4.3.1.240204 +Version: https://github.com/itas109/CSerialPort - v4.3.2.250203 AvailableFriendlyPorts: 1 - /dev/ttyUSB0 QinHeng CH340 serial converter 1a86:7523 @@ -229,4 +229,5 @@ https://github.com/itas109/CommLite # License 开源协议 CSerialPort v3.0.0.171216 - v4.3.1.240204 授权许可为 LGPLv3 -CSerialPort V4.3.2 - 最新版授权许可为 [LGPLv3 with LGPL-3.0-linking-exception](LICENSE) \ No newline at end of file + +CSerialPort v4.3.2.250203 - 最新版授权许可为 [LGPLv3 with LGPL-3.0-linking-exception](LICENSE) \ No newline at end of file diff --git a/VERSION b/VERSION index 2184b46..be88812 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.3.1.240204 \ No newline at end of file +4.3.2.250203 \ No newline at end of file diff --git a/include/CSerialPort/SerialPort_version.h b/include/CSerialPort/SerialPort_version.h index 8340b3a..4625cbc 100644 --- a/include/CSerialPort/SerialPort_version.h +++ b/include/CSerialPort/SerialPort_version.h @@ -14,9 +14,9 @@ #define __CSERIALPORT_VERSION_H__ #define CSERIALPORT_COPYRIGHT "Copyright (C) 2014 itas109. All Rights Reserved." -#define CSERIALPORT_VERSION "4.3.1.240204" +#define CSERIALPORT_VERSION "4.3.2.250203" #define CSERIALPORT_VERSION_MAJOR 4 #define CSERIALPORT_VERSION_MINOR 3 -#define CSERIALPORT_VERSION_PATCH 1 +#define CSERIALPORT_VERSION_PATCH 2 #endif //__CSERIALPORT_VERSION_H__ diff --git a/src/SerialPort.cpp b/src/SerialPort.cpp index 4a65439..6bde739 100644 --- a/src/SerialPort.cpp +++ b/src/SerialPort.cpp @@ -491,6 +491,6 @@ void itas109::CSerialPort::setRts(bool set /*= true*/) const char *itas109::CSerialPort::getVersion() { static char version[256]; - itas109::IUtils::strncpy(version, "https://github.com/itas109/CSerialPort - V", 256); + itas109::IUtils::strncpy(version, "https://github.com/itas109/CSerialPort - v", 256); return itas109::IUtils::strncat(version, CSERIALPORT_VERSION, 20); }