-
Notifications
You must be signed in to change notification settings - Fork 305
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
Bleak on WinRT does not correctly read characteristic properties #1326
Comments
Can you share the output of the service explorer example on both OSes? Can you share Bluetooth packet capture on both OSes? (see troubleshooting page in docs) |
macOS service explorer
Windows service explorer
This is super strange. The characteristic is |
Can you share a minimal script that reproduces the problem? |
I figured it out, sorry to waste your time David! I was indexing into the services list by doing |
Description
I am trying to write a cross-platform Python script that interfaces with a BLE device. I wrote a bleak script using Python, and it works flawlessly on macOS. When I try to run it on a Windows 10 machine, I am able to connect to the device, but when I try
client.start_notify
, I get an error:What I Did
I tried debugging to see why this is the case. The value of
characteristic.properties
on macOS is:But the same exact characteristic (same exact device, verified by UUID and handle) on Windows 10 is:
I know for a fact that I can subscribe to notifications/indications on this device because I've done it on macOS successfully.
I've also tried this on 2 separate Windows machines.
Logs
Debug logs
Notes
I did some digging for other open issues in this repository. This may be related to #828 or #883, but those issues are for Android AFAIK. Just linking them here in case it's helpful.
The text was updated successfully, but these errors were encountered: