David Lechner
David Lechner
I would suggest logging Bluetooth packets to try to see why it is disconnecting. https://bleak.readthedocs.io/en/latest/troubleshooting.html Hard to say if it is behaving as expected or not without seeing a full...
What is the difference between the working and not working Windows machines. For example to they have the same Bluetooth adapter and driver version and the same Windows updates?
Without Bluetooth packet logs, it is impossible to tell what the problem is and if different people are actually having the same problem. Someone with the same symptoms was finally...
Is this still a problem with Bleak v0.22.0?
Can you enable debug logging and share the output?
It sounds like this is a bug in dbus-fast so should be reported at https://github.com/Bluetooth-Devices/dbus-fast
https://bleak.readthedocs.io/en/latest/troubleshooting.html#capture-bluetooth-traffic
I'm pretty sure I fixed a bug in BlueZ related to this, so I would try a newer BlueZ version.
The latest release is actually 5.70 (https://github.com/bluez/bluez/releases). But the fixes I was referring to were released in 5.62. You could try deleting the BlueZ cache (https://bleak.readthedocs.io/en/latest/troubleshooting.html#id4). But beyond that, you...
It sounds like what you want is [BleakScanner.find_device_by_filter()](https://bleak.readthedocs.io/en/latest/api/scanner.html#bleak.BleakScanner.find_device_by_filter). FYI, filtering by address doesn't work on macOS, so if you were trying to make something that works cross platform, you should...