Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Implement a proper queue for handling BT handshakes #23

Open
vjrantal opened this issue Dec 4, 2015 · 4 comments
Open

Implement a proper queue for handling BT handshakes #23

vjrantal opened this issue Dec 4, 2015 · 4 comments
Labels
Milestone

Comments

@vjrantal
Copy link
Member

vjrantal commented Dec 4, 2015

This PR #14 enabled multiple handshakes to be handled simultaneously. It has been a question mark can this make the overall BT connection process more unreliable in case of many devices.

An improvement that could be tried out would be to implement a proper queue to handle the handshakes.

@yaronyg
Copy link
Member

yaronyg commented Sep 26, 2016

@evabishchevich / @vasilevskayaem I've always wondered if this was a problem. Should we handle handshakes serially?

@yaronyg
Copy link
Member

yaronyg commented Nov 17, 2016

@evabishchevich / @vasilevskayaem I've been waiting 2 months for an answer. Can I please get one?

@larryonoff
Copy link

@evabishchevich / @vasilevskayaem please check the latest @yaronyg comment.

@vasilevskayaem
Copy link
Contributor

When library starts handshake it's already have bluetooth sockets created. So client just sends massage to server and waits response. A problem here can be only in speed of sending message (because speed when we have several connections become lower), but I don't think we should worry about it in this case because handshakes messages are not long.

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

No branches or pull requests

6 participants