crayzeewulf / libserial

Serial Port Programming in C++
BSD 3-Clause "New" or "Revised" License
398 stars 141 forks source link

Question about timeout capability of serialstream class #154

Closed chaz765 closed 4 years ago

chaz765 commented 4 years ago

Hi, Looked at all the code samples and really liked the library, would like to see a simple example with serialstream class which uses timeout. -cn

crayzeewulf commented 4 years ago

@chaz765 You can find some examples in the unit tests under the tests folder. I am traveling for a couple of weeks with minimal internet access. If the code of the unit tests does not help, please let me know and I will get you something specific for your need.

chaz765 commented 4 years ago

I ended up using the SerialPort class instead and it seems to be working fine.

crayzeewulf commented 4 years ago

Glad to hear that SerialPort class worked out for you. Thanks for the update!