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

generic serial open to support socket devices (for wifi) #77

Merged
merged 3 commits into from Jun 9, 2017

Conversation

glibersat
Copy link
Member

Tiny patch so uri (e.g. socket://127.0.0.1:9876) can be used when opening the serial port. Keeps compatibility with device path (e.g. /dev/ttyACM0)

Cheers,
Guillaume

line_from_buffer = self.__get_line_from_buffer()
if line_from_buffer:
self.queue.put(line_from_buffer)
print(line_from_buffer)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be removed! :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed, that was for debugging :)

@elcojacobs elcojacobs merged commit 55274bf into BrewPi:develop Jun 9, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants