-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
Adding support for multiple emotibits #749
Conversation
It should support multiple emotibits now, but I am having a connection issue on the second one. It seems like second emotibit doesnt connect to tcp server control socket and I dont get why.
Will explain what is happenning here. First one connects just fine:
And it takes ports 3132 and 3133 Second one tries to bind to these two ports(3132 and 3133) first, failed since they are busy and brainflow tries next two ports(3134 and 3135), they are free and should work just fine. It creates tcp socket server on this port, sends connection request to device and waits for connection from the board, it never happens:
|
I've found the hack used by emotibit sw and its quite weird. It creates broadcast socket first and afte that converts broadcast socket to a notmal udp socket instead creating another one. We've not done it and used broadcast socket for further configuration and it didnt work for multiboard case. Next commit here will solve it |
Signed-off-by: Andrey Parfenov <[email protected]>
008e524
to
07f04cb
Compare
No description provided.