CppLinuxSerial

Serial port library written in C++.

MIT License

Stars
336

Bot releases are hidden (Show)

CppLinuxSerial - v2.8.1 Latest Release

Published by gbmhunter 10 months ago

[v2.8.1] - 2023-12-16

  • Added missing header include (thanks Uglješa Lukešević).
  • Added missing compare links to the CHANGELOG.
CppLinuxSerial - v2.8.0

Published by gbmhunter about 1 year ago

[v2.8.0] - 2023-07-22

  • Improved error checking in read/write commands. (thanks @meetgandhi-eic).
CppLinuxSerial - v2.7.2

Published by gbmhunter over 1 year ago

[v2.7.2] - 2023-07-16

  • Changed CICD runner from TravisCI to GitHub Actions.
  • Fixed some spelling errors in the README (thanks @JensvanEsch).
CppLinuxSerial - v2.7.1

Published by gbmhunter over 1 year ago

[v2.7.1] - 2023-03-16

  • CMake config updated with exporting and generation of a CMake config file so that end users can simply do (thanks to https://github.com/borgmanJeremy for this contribution):

    find_package(CppLinuxSerial REQUIRED)
    ...
    ...
    target_link_libraries(target CppLinuxSerial::CppLinuxSerial)
    
CppLinuxSerial - v2.7.0

Published by gbmhunter over 1 year ago

[v2.7.0] - 2023-02-13

  • Read() and ReadBinary() now append to the provided data containers (string or vector) rather than erase and write.
  • Added run.sh bash script for running local serial port tests with connected Arduino Uno (see README). Updated local tests to write and read back data in both string and binary forms.
CppLinuxSerial - v2.6.0

Published by gbmhunter over 1 year ago

[v2.6.0] - 2023-02-02

  • Read() and ReadBinary() now throw exceptions if they detect that the serial device has been disconnected (thanks to aldoshkind for helping with this one).
  • Added Arduino testing instructions to the README.
CppLinuxSerial - v2.5.0

Published by gbmhunter almost 2 years ago

[v2.5.0] - 2022-11-12

  • Replaced all tabs in code with spaces, which should fix the ugly code rendering in GitHub.
  • Added ability to set/change both hardware and software flow control (thanks to Vittorio Francescon for helping with this one).
  • Added some ready-to-run examples in the new example/ directory.
  • Added a section in the README on WSL (Windows Subsystem for Linux) usage.
CppLinuxSerial - v2.4.0

Published by gbmhunter over 2 years ago

[v2.4.0] - 2022-02-12

  • Added Available() method to return number of bytes ready to be read from the receive buffer (thanks lotricekCZ).
  • Added CMake option for shared library (thanks lotricekCZ).
CppLinuxSerial - v2.3.0

Published by gbmhunter almost 3 years ago

[v2.3.0] - 2021-12-23

  • Added support for setting the num. data bits.
  • Added support for setting the parity.
  • Added support for setting the num. stop bits.
CppLinuxSerial - v2.2.1

Published by gbmhunter almost 3 years ago

[v2.2.1] - 2021-12-06

  • Fixed a build error by changing the branch cmake downloads googletest from master to main.
CppLinuxSerial - v2.2.0

Published by gbmhunter almost 3 years ago

[v2.2.0] - 2021-12-03

  • ReadBinary() and WriteBinary() added to read/write raw data, instead of having to use strings (thanks to @RolandHughes for adding this).
CppLinuxSerial - v2.1.2

Published by gbmhunter over 3 years ago

[v2.1.2] - 2021-07-01

  • Removed download of gtest if tests are not built.
  • Install headers correctly when used as a cmake submodule (FetchContent).

Big thanks to https://github.com/MadsAndreasen-Zoetis for these improvements.

CppLinuxSerial - v2.1.0

Published by gbmhunter almost 4 years ago

[v2.1.0] - 2020-11-08

Added

  • Support for custom baud rates.
  • Support for all standard UNIX baud rates.
  • Improved Doxygen documentation.
  • Improved README.md documentation.

Removed

  • Dependencies from the README, they weren't that useful and were not accurate anyway.