VernierST / godirect-py

A Python module for reading from Vernier Go Direct® Sensors using USB or BLE.
GNU General Public License v3.0
8 stars 9 forks source link

Issues using Windows11 #32

Open glahniboy opened 3 months ago

glahniboy commented 3 months ago

Hi I am using the Go Direct respiration belt in my project via the Python godirect package. On Windows 10 the script runs without any problems. Connecting to the belt is possible using BLE. On Windows 11 the BLE connection cannot be established successfully... It is stuck in a loop waiting for the BLE device to connect. File "device_bleak.py" line 49: self._loop.run_until_complete(self._async_connect()) Did anyone face the same problem? Is there a easy way to use it also on Windows 11? Best, Manuel

sswartley commented 3 months ago

Hello,

The godirect-py package uses the bleak package for BLE communication. Can you check the bleak version number that you have installed on your computer against the most current version of bleak (that appears to be 0.21.1). If you do not have the most current version could you upgrade and try again.

Did you have luck with a USB connection on Windows 11?

All the best,

Sam

glahni commented 3 months ago

Hi thanks for your response! Bleak version number was the most current one. USB works out just fine.

sswartley commented 3 months ago

Hello,

I am glad USB is working. I think a good troubleshooting step for BLE is to test it with Graphical Analysis and see if you can make the connection using that software. Here is a link to download Graphical Analysis.

All the best,

Sam