David Lechner

Results 1570 comments of David Lechner

We need a reproducible test case or logs showing what is going on under the hood to be able to understand the problem. Currently there is not enough information. It...

I think the problem is that you are starting multiple run loops that don't run forever. Bleak isn't designed for this. Change ```python i=1 while i

I've documented this now: https://bleak.readthedocs.io/en/latest/troubleshooting.html#calling-asyncio-run-more-than-once Closing the issue since it is caused by improper usage. Thanks @gkecskes78 for providing the reproducible test case.

> Please let me know what logs I should gather. https://bleak.readthedocs.io/en/latest/troubleshooting.html > 1. Used Ubuntu instead Fedora Is everything else the same in this case? Same computer? Same Bluetooth adapter?...

> File "/home/tsiselsk/Projects/private/ArduinoBleOTA/tools/uploader.py", line 83, in acquire_mtu > await client._backend._acquire_mtu() I think this could be what is causing the problem. This looks like `_acquire_mtu()` is from a 3rd-party library. Whatever...

In the wireshark logs, it looks like it is starting to do some Bluetooth classic stuff after the Bluetooth low energy stuff. Is this a dual-mode device? I'm not as...

If it works with one BlueZ version but not in another, I would report the bug to BlueZ.

> Where issues with BlueZ should be reported? https://github.com/bluez/bluez/ (or the Linux Bluetooth mailing list)

Issues with dual mode devices were discussed recently in #1521. I'm not sure what we can do about it besides fix it in BlueZ.