Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Cross-platform, Serial Port library written in C++

License

NotificationsYou must be signed in to change notification settings

markaren/serial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a cross-platform library for interfacing with rs-232 serial like ports written in C++.It provides a modern C++ interface with a workflow designed to look and feel like PySerial, but with the speed and control provided by C++.

Serial is a class that provides the basic interface common to serial libraries (open, close, read, write, etc..) and requires no extra dependencies.It also provides tight control over timeouts and control over handshaking lines.

Documentation

API Documentation:http://wjwwood.github.io/serial/doc/1.1.0/index.html

Fork changes

This fork has replaced the previous build setup in order to successfully build with no extra dependencies.Build it as any other regular CMake project.

Usage with CMake FetchContent

include(FetchContent)set(SERIAL_BUILD_EXAMPLESOFF)FetchContent_Declare(        serial        GIT_REPOSITORY https://github.com/markaren/serial.git        GIT_TAG <git_tag_or_commit_id>)FetchContent_MakeAvailable(serial)...target_link_libraries(<target>PRIVATE serial)

License

The MIT License

Original Authors

William Woodallwjwwood@gmail.comJohn Harrisonash.gti@gmail.com

About

Cross-platform, Serial Port library written in C++

Resources

License

Stars

Watchers

Forks

Languages

  • C++95.2%
  • CMake2.7%
  • C2.1%

[8]ページ先頭

©2009-2025 Movatter.jp