bugst / go-serial

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

Is the project still being maintained? #58

Closed renathoaz closed 4 years ago

renathoaz commented 5 years ago

I really need some functionalities that @albenik has implemented on his fork. ReadTimeout func. Is this project still alive?

cmaglie commented 5 years ago

@renathoaz, this library is used on many Arduino projects, we have thousand of users, so I must carefully test every change, especially something like @albenik's fork that touches the core of the library.

For now I'm fully booked on other stuff for the near future, so this won't happen soon.

If @albenik fork is good for your use case, I guess you can just go ahead and use that one.

renathoaz commented 5 years ago

@cmaglie Thank you for the reply, I got it. I need two little things that I already managed to get, Read Timeout and Custom baud rate for at least windows and linux. I made a fork from Albenik and did it. But I have no time to give maintenance to it. So for while I'll use mine fork until you implement those functionalities. Please refer this issue when you implement it.
By the way, thank you for the lib, it helped me a lot on my projects.

cbrake commented 4 years ago

if you need timeouts, you may want to consider wrapping the serial port with this package:

https://pkg.go.dev/github.com/simpleiot/simpleiot/respreader?tab=doc

I've been using it for modem control (AT commands), and for RS485 protocols like modbus -- seems to be working well.

cmaglie commented 4 years ago

@cbrake please do not spam the same message over multiple issues, just once is enough, people will find it.

Since this issue is mostly related to timeouts I'm closing it as duplicate of #33