Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeouts #48

Closed
maitredede opened this issue May 10, 2018 · 8 comments · Fixed by #109
Closed

Timeouts #48

maitredede opened this issue May 10, 2018 · 8 comments · Fixed by #109

Comments

@maitredede
Copy link

Hi,
I would like to know if it is possible to add timeouts on read/write operations. Either by setting a timeout value, or a deadline value.
Thanks.

@tecnologer
Copy link

any update about this?

@LeeSSXX
Copy link

LeeSSXX commented Nov 19, 2018

I also need this feature.

@ghost
Copy link

ghost commented Dec 11, 2018

I give up this package because of lacking read Timeout option

@maitredede
Copy link
Author

Hi @lifetyper what is the package you use as replacement ? Thanks.

@ghost
Copy link

ghost commented Feb 26, 2019

@maitredede I use both this package and github.com/tarm/serial for my project,use this for serial port listing only.

@ygl-rg
Copy link

ygl-rg commented Mar 29, 2020

@maitredede I use both this package and github.com/tarm/serial for my project,use this for serial port listing only.

so am I

@cbrake
Copy link
Contributor

cbrake commented May 7, 2020

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.

@hb1707
Copy link

hb1707 commented Feb 4, 2021

@maitredede我将这个软件包和github.com/tarm/serial用于我的项目,仅将此用于串行端口列表。

so do i

@maitredede I use both this package and github.com/tarm/serial for my project,use this for serial port listing only.

so am I

+1 so do i

@bugst bugst locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants