Skip to content

Commit

Permalink
doc(VERSION): update to 4.3.2
Browse files Browse the repository at this point in the history
Signed-off-by: itas109 <itas109@qq.com>
  • Loading branch information
itas109 committed Jan 24, 2025
1 parent 108b4d7 commit 5920894
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 16 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# [CSerialPort](https://github.com/itas109/CSerialPort)
[<img src="https://api.gitsponsors.com/api/badge/img?id=58247015" height="20">](https://api.gitsponsors.com/api/badge/link?p=nHYln+gta+JEeicvjCGX4KX2vDIlnp1lmbeYatCDP4TB9RjTB3u72ErofmFq7HMIPmQ4P97huG4wQgwTeyO9W4Jn+NET4WFZq0dtVs+Y6uB2BKFQ8576OJr4KAZsu4RMfO9ANvXNJebpIZyuV+Ex8w==)

[中文](README_zh_CN.md)

Expand Down Expand Up @@ -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 )
- ...

Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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)

CSerialPort v4.3.2.250203 - latest is licensed under the [LGPLv3 with LGPL-3.0-linking-exception](LICENSE)
13 changes: 7 additions & 6 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# [CSerialPort](https://github.com/itas109/CSerialPort)
[<img src="https://api.gitsponsors.com/api/badge/img?id=58247015" height="20">](https://api.gitsponsors.com/api/badge/link?p=nHYln+gta+JEeicvjCGX4KX2vDIlnp1lmbeYatCDP4TB9RjTB3u72ErofmFq7HMIPmQ4P97huG4wQgwTeyO9W4Jn+NET4WFZq0dtVs+Y6uB2BKFQ8576OJr4KAZsu4RMfO9ANvXNJebpIZyuV+Ex8w==)

[English](README.md)

Expand Down Expand Up @@ -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 )
- ...

Expand Down Expand Up @@ -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 快速开始

Expand All @@ -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
Expand Down Expand Up @@ -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)

CSerialPort v4.3.2.250203 - 最新版授权许可为 [LGPLv3 with LGPL-3.0-linking-exception](LICENSE)
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.3.1.240204
4.3.2.250203
4 changes: 2 additions & 2 deletions include/CSerialPort/SerialPort_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__
2 changes: 1 addition & 1 deletion src/SerialPort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 5920894

Please sign in to comment.