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

Multiple Bluetooth Client Connections #42

Open
Technickel-Dev opened this issue Jul 25, 2019 · 1 comment · May be fixed by #45
Open

Multiple Bluetooth Client Connections #42

Technickel-Dev opened this issue Jul 25, 2019 · 1 comment · May be fixed by #45

Comments

@Technickel-Dev
Copy link

I would love to see a way to connect and disconnect your client to multiple Bluetooth devices (For example an Android smartphone using this library to connect to multiple HC-06 Bluetooth modules)

As far as I can tell, it will run multiple connections but disconnecting the multiple connections is impossible because the reference to the thread running the receiver is lost when the second connection is made.

Great library though! Keep up the great work!

@omaraflak
Copy link
Owner

This is definitely possible. It shouldn't even be too hard to implement, we would simply have to make a list of ReceiveThread and architecture the library so that you can easily interact with each thread.

Unfortunately I won't be able to work on that feature before 1 month. That said, if you want to, feel free to implement it yourself and make a pull request.

Thanks for the kind words anyway !

@Technickel-Dev Technickel-Dev linked a pull request Aug 11, 2019 that will close this issue
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 a pull request may close this issue.

2 participants