serial-port
serial-port copied to clipboard
A set of C++ classes to easiliy handle serial ports across different platforms, built on top of boost.asio.
For anyone that might be interested in included `serial-port` as a library in their own project, I made some edits here: https://github.com/ericfont/serial-port/releases/tag/v1.11 Basically I moved all `.cpp` to a `src`...
std::search is much better and does precisely what you're looking for. this is in the 3_async folder, BufferedAsyncSerial.cpp file. ``` std::vector::iterator BufferedAsyncSerial::findStringInVector( std::vector& v,const std::string& s) { if(s.size() == 0)...
I'm new in C++. My embeded sensor send character like this Roll=5.413759 Pitch=16.861174 Yaw=175.750381 Acceleration: X=-3294 Y=-44 Z=2463 Gyroscope: X=-1 Y=0 Z=-1 Magnetic: X=45 Y=23 Z=-65 END Roll=6.413759 Pitch=17.861174 Yaw=176.750381...
Hello! This looks like a great starting point for my needs, any chance you can add a timeout on the write operation as well? If the (e.g. USB) device goes...
Hi, my arduino is sending a number every second via serialport. I am trying to use your async implementation to read this number in a callback function. For some reason...
Hi, I am using the serial stream class to read from an Arduino over serial port. "/dev/ttyACM0" at 115200 on Ubuntu 14.04.3 LTS on an intel NUC i7. The code...
Hey! I'm adding your library to my project but I am having some issues. I want to reliable reconnect to a device if the connection has been lost. Right now...
Hi there, i'm trying to use you library for raspberry->arduino (or similar) communication. I've used your example 1 with echo (on arduino) but it doesn't work... I have used socat...