# Serial Communication Library
[![Build Status](https://travis-ci.org/wjwwood/serial.svg?branch=master)](https://travis-ci.org/wjwwood/serial)*(Linux and OS X)* [![Build Status](https://ci.appveyor.com/api/projects/status/github/wjwwood/serial)](https://ci.appveyor.com/project/wjwwood/serial)*(Windows)*
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++.
This library is in use in several robotics related projects and can be built and installed to the OS like most unix libraries with make and then sudo make install, but because it is a catkin project it can also be built along side other catkin projects in a catkin workspace.
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
Website: http://wjwwood.github.io/serial/
API Documentation: http://wjwwood.github.io/serial/doc/1.1.0/index.html
### Dependencies
Required:
* [catkin](http://www.ros.org/wiki/catkin) - cmake and Python based buildsystem
* [cmake](http://www.cmake.org) - buildsystem
* [Python](http://www.python.org) - scripting language
* [empy](http://www.alcyone.com/pyos/empy/) - Python templating library
* [catkin_pkg](http://pypi.python.org/pypi/catkin_pkg/) - Runtime Python library for catkin
Optional (for documentation):
* [Doxygen](http://www.doxygen.org/) - Documentation generation tool
* [graphviz](http://www.graphviz.org/) - Graph visualization software
### Install
Get the code:
git clone https://github.com/wjwwood/serial.git
Build:
make
Build and run the tests:
make test
Build the documentation:
make doc
Install:
make install
### License
[The MIT License](LICENSE)
### Authors
William Woodall <[email protected]>
John Harrison <[email protected]>
### Contact
William Woodall <[email protected]>
没有合适的资源?快使用搜索试试~ 我知道了~
Cross-platform, Serial Port library written in C++.zip
共34个文件
cc:11个
h:4个
txt:3个
需积分: 5 0 下载量 117 浏览量
2023-12-31
11:12:24
上传
评论
收藏 72KB ZIP 举报
温馨提示
Cross-platform, Serial Port library written in C++
资源推荐
资源详情
资源评论
收起资源包目录
Cross-platform, Serial Port library written in C++.zip (34个子文件)
sss
visual_studio
visual_studio.sln 2KB
test_serial
test_serial.vcxproj.filters 956B
test_serial.vcxproj 6KB
serial
serial.vcxproj.filters 1KB
serial.vcxproj 7KB
include
serial
serial.h 23KB
v8stdint.h 2KB
impl
win.h 4KB
unix.h 4KB
CMakeLists.txt 2KB
changes.txt 259B
CHANGELOG.rst 4KB
.travis.yml 240B
doc
serial.dox 2KB
Doxyfile 104KB
Makefile 2KB
src
serial.cc 8KB
impl
win.cc 15KB
list_ports
list_ports_linux.cc 7KB
list_ports_osx.cc 7KB
list_ports_win.cc 4KB
unix.cc 26KB
LICENSE 1KB
tests
CMakeLists.txt 450B
proof_of_concepts
mdc2250.cc 11B
tokenizer.cc 769B
python_serial_test.py 273B
unit
unix_timer_tests.cc 1KB
unix_serial_tests.cc 2KB
package.xml 815B
examples
serial_example.cc 4KB
.gitignore 249B
README.md 2KB
serial.sublime-project 575B
共 34 条
- 1
资源评论
暮苍梧~
- 粉丝: 41
- 资源: 258
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功