Device returned by detection callback is not properly initialized on corebluetooth #448
Labels
Backend: Core Bluetooth
Issues and PRs relating to the Core Bluetooth backend
bug
Something isn't working
bluetoothctl -v
) in case of Linux:Description
The device returned by the detection callback is missing "delegate" which is needed by the ctor of BleakClientCoreBluetooth
What I Did
I work around the issue by not using the callback and repeatedly calling get_discovered_devices instead.
Sample (modified from bleak/examples/detection_callback.py):
Command line:
Output:
The text was updated successfully, but these errors were encountered: