Skip to content
/ serial Public

C++ class to interface with serial devices under Linux

License

Notifications You must be signed in to change notification settings

atonks2/serial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Serial class for Linux

  • Linux serial communication using the termios API

Build using g++ with c++11

  • Example: `g++ -std=c++11 serial.h serial.cpp client-code.cpp

Constructors:

  • Serial()and Serial(speed_t baud, std::string port) assume canonical input mode.
    • Both delegate to Serial(speed_t baud, std::string port, bool canon)
  • Serial(speed_t baud, std::string port, bool canon)
    • Client specifies baudrate port and input mode

About

C++ class to interface with serial devices under Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages