David Lechner

Results 1570 comments of David Lechner

The error is coming from Windows, so you will need to do logging in Windows to see what could be triggering the problem. I would start with logging Bluetooth packets...

As far as I know, none of the OSes pass this information to the APIs we are using. You would have to spy on Bluetooth packets like Wireshark does to...

Is this still a problem with Bleak v0.20.0?

What are the exact differences between the working case and the nit working case? Exact Windows version? Bluetooth radio (in PowerShell, run `wget https://github.com/Microsoft/busiotools/raw/master/bluetooth/tracing/GetBluetoothRadioInfo.ps1 -UseBasicParsing | iex`)? Is it the...

On Windows 11 do other BLE tools like https://apps.microsoft.com/store/detail/bluetooth-le-explorer/9N0ZTKF1QD98?hl=en-us&gl=us or `chrome://bluetooth-internals` in a Chrome or Edge browser work? If they do, what is the difference in Bluetooth packets captured with...

Thanks for the logs. Can you also share the output of your Python script with debug logging enabled? You could also try fiddling with the `winrt` [use_cached_services](https://bleak.readthedocs.io/en/latest/backends/windows.html#bleak.backends.winrt.client.WinRTClientArgs.use_cached_services) option.

Interesting. Was the `ipykernel` module loaded? If I am remembering correctly, it changes (or at least used to) the default run loop type on Windows. So that could something to...

> Not sure what you mean by printing loop type, sorry. ```python loop = asyncio.get_running_loop() print(type(loop)) ``` > It was not being used/loaded. I wonder if this is something similar...

Interesting findings. I'm guessing this "Bluetooth Device Detection" Option is in the Windows settings? Is the only difference Windows 10 and Windows 11 (e.g. identical computers with the same Bluetooth...

> How could I make such a Bluetooth Capture? https://bleak.readthedocs.io/en/latest/troubleshooting.html#windows-10 > I recorded now two traces and saved them in the CSV format. It would be more helpful to have...