-
Notifications
You must be signed in to change notification settings - Fork 77
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
Reconnection #19
Comments
This sounds strange indeed. The Do you create the new instance as soon as the disconnect happens? Or do you wait some time before reconnect? |
We tried both but after reconnection stream don't work 😕
|
Hello, |
Hello again, It is strange but in my angular app the disconnection occurs very frequently. I am using the latest version of muse-js (3.2.0). @sdg97 Can you please check if this is also the case with your Muse ? |
Also, this is of interest for automatic bluetooth reconnection in chrome (this is an official demo). https://googlechrome.github.io/samples/web-bluetooth/automatic-reconnect.html |
The reconnection does not work when I wait 3 minutes after a establishing an initial connection and then disconnect. It seems that the permissions that are granted in the browser when you pair a device expire after about 3 minutes, making automatic reconnection impossible. I've been trying to find out why the muse device sends the "ongattdisconnected" event, but I have no clue so far. |
Hi!
My friend @Th4n05 and I have worked with Muse2016 and your packet for a few month. Sometimes Muse disconnect during the acquisition. We know that Muse is a strange stuff but when it disconnect we want that it reconnect automatically. You could say 'you can do it, create a new MuseClient or something else'. We don't know why but after reconnection the EEG stream don't work.
@Th4n05 understands that if we remove
takeUntil()
in muse-utils.js the problem is resolved but we don't understand why this happens also when we create a new MuseClient instance.Do you have any ideas?
The text was updated successfully, but these errors were encountered: