alexandrebarachant / muse-lsl

Python script to stream EEG data from the muse 2016 headset
BSD 3-Clause "New" or "Revised" License
629 stars 184 forks source link

Patch: Update bleak Scanner logic to match example #181

Closed jdpigeon closed 2 years ago

jdpigeon commented 2 years ago

When investigating this issue (https://github.com/alexandrebarachant/muse-lsl/issues/180) I noticed that another project seems to have solved it by updating the syntax for scanning for devices with bleak: https://github.com/NaitLee/Cat-Printer/issues/22 https://github.com/NaitLee/Cat-Printer/commit/1b4402c6d2defa1da04845dbe90b2c71636cf53a

This also matches the syntax on the bleak example page https://bleak.readthedocs.io/en/latest/scanning.html

peter7cole commented 2 years ago

lgtm👍

nolanrbrady commented 2 years ago

This PR fixes issue #180 for me.