bugst / go-serial

A cross-platform serial library for go-lang.
BSD 3-Clause "New" or "Revised" License
658 stars 200 forks source link

Support non-blocking mode #31

Closed niondir closed 3 years ago

niondir commented 7 years ago

I would prefer to set a timeout for reading data instead of blocking till the connection get's closed.

albenik commented 7 years ago

here it is https://github.com/albenik/go-serial

niondir commented 7 years ago

Cool thanks, would be nice if it gets ported back into bugst.

albenik commented 7 years ago

Yes of course! But it depends on previous improvements (https://github.com/bugst/go-serial/pull/29) which where still not merged here a long-long time.

cmaglie commented 3 years ago

Fixed by #109