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

out_waiting / outWaiting should be in_waiting / inWaiting actually #1

Open
olfway opened this issue May 27, 2016 · 1 comment
Open

Comments

@olfway
Copy link

olfway commented May 27, 2016

Hi!

It seems out_waiting is named wrong in dummyserial,
as it is "in_waiting" in pyserial:

>>> s = serial.Serial('/dev/ttyUSB1', 115200, timeout=15)
>>> s.write(b'AT\r')
3
>>> s.inWaiting()
6
>>> s.read(s.inWaiting())
b'\r\nOK\r\n'
@glinders
Copy link

glinders commented May 1, 2024

Since version 3.0, pyserial implements in_waiting and out_waiting. Package dummyserial only implements out_waiting.

So, it is not named incorrectly, but in_waiting is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants