-
Notifications
You must be signed in to change notification settings - Fork 121
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
BLE Connection problem with BLED112 on Windows #24
Comments
Hi, Please share the results here. |
Hi Andrey, I changed the logging and the initialization of the MoveHub as suggested. This changed the error message:
Then I started debugging with some breakpoints in bgapi.py, serialwin32.py, cpygatt.py etc - and without changing the code or any variables, the connection was working fine afterwards...
So I have the feeling this is an issue in the related libraries for the BLE/socket/COM communication... Regards |
OK, after some more investigation, this issue is caused by peplin/pygatt#208 and the fix is here: peplin/pygatt#181 |
Hi guys,
I'm a complete noon to Python and this whole BLE topic. I bought a BLED112 and think I got it installed correctly as I can connect to the MoveHub using "Bluegiga BLE GUI Tool".
Now I want to run the examples from this project using the PyCharm IDE. I cloned the pylgbst repo from my own fork and started playing around. Unfortunately I get an error when I try to run the demo.py (using right click => "Run/Debug 'demo'":
According to the output from pygatt.backends.bgapi.bgapi I would assume the Bluetooth adapter is found, but it does not search for any devices. Is there anything I missed during setup/installation?
Thanks a lot!
Michael
The text was updated successfully, but these errors were encountered: