crayzeewulf / libserial

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

The examples/ does not contains SerialPort Read+Timeout example #94

Closed wade-fs closed 6 years ago

wade-fs commented 6 years ago

The examples/ does not contains SerialPort Read+Timeout example LibSerial-Examples.zip

mcsauder commented 6 years ago

Hi @wade-fs ,

Could you let me know if PR #95 does a better job of showing how to handle ReadTimeout exceptions: and if so we can add that commit?

Thanks again for your help making LibSerial better!

-Mark

mcsauder commented 6 years ago

Hi @wade-fs ,

I've added an example to the serial_port_read.cpp example file in PR #97 that matches your use case of unknown number of bytes being read during a given timeout period. Let me know if this is what you had in mind!

Thanks again for submitting the issue!

-Mark

mcsauder commented 6 years ago

Hi @wade-fs ,

Fixed in PR #97!

-Mark