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

Add initialisation for existing serial port #22

Open
eblot opened this issue Oct 21, 2016 · 0 comments
Open

Add initialisation for existing serial port #22

eblot opened this issue Oct 21, 2016 · 0 comments

Comments

@eblot
Copy link

eblot commented Oct 21, 2016

It would be great if BlueGigaAPI could be instanciated from an existing Serial instance:

class BlueGigaAPI(object):
    def __init__(self, port, callbacks=None, baud=115200, timeout=1):

This would give the opportunity to use serial.serial_for_url(), customize features (such as HW flow control with RTS/CTS), perform pre-initialisation communication, etc.

@eblot eblot changed the title Ad initialisation for existing serial port Add initialisation for existing serial port Oct 21, 2016
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

1 participant