muselsl via BLE112 not streaming on Windows 10
See original GitHub issueHiya, I’m running on python3.7, 32bit Win10 on a pretty old laptop that doesn’t have a built-in bluetooth receiver so am using a BLE112 dongle and the bgapi backend.
muselsl will happily find the device but when I start a stream it’s timing out almost immediately, looks like its just not getting any data through:
$ muselsl stream -b bgapi --address 00:55:DA:B3:9A:2C
c:\users\michael\appdata\local\programs\python\python37-32\lib\site-packages\sklearn\externals\joblib\externals\cloudpickle\cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Connecting to Muse : 00:55:DA:B3:9A:2C...
Connected.
Streaming...
Disconnected.
Seems like a very similar issue to #59 Any advice?
EDIT: managed to get a visualiser to try and view the stream before it disconnects. Showing up as empty traces from -5s to 0s which further implies that it’s not receiving samples at all
muselsl view then reports:
Stream transmission broke off (Input stream error.); re-connecting...
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top GitHub Comments
Thanks for the advice, that does seem to have done the trick! Running now in a miniconda environment with python 3.6.7, and the dependencies from https://github.com/amandakeasson/eeg-notebooks/blob/master/requirements_mac.txt
Now getting data through! The stream does report:
missing sample 0 : 65535
but the stream no longer kicks out and is definitely receiving data:For completeness I should mention that I’ve also implemented the
time.sleep(.25)
fix referenced in peplin/pygatt/issues/118. I’d already implemented that on Friday when the stream still wasn’t working so it seems to be a wholly separate issue to do with pygatt accessing the COM port, but worth mentioning.This is awesome. Thanks for figuring this out