David Lechner

Results 1570 comments of David Lechner

I ran the test program with `python -m trace --trace .\test.py > trace.log` to find where something from the `pywin32` package was being invoked. It is happening through the vendored...

The first step would be to call `CoGetApartmentType` as in the link I gave to see if it is the same problem. If it is, then we can see if...

Thanks for trying this out. > When the original code is modified, so that the pairing agent has proper capabilities > > ```python > # REVISIT: implement passing capability if...

Thanks for the analysis. I had not considered the case where the remote device initiates pairing. Given that Windows only support custom pairing when the central initiates the pairing, it...

> My device requires higher security level for whole GATT table, meaning it requires pairing even for service discovery. This seems to go against the requirement of the Bluetooth specification....

I haven't had time to get back to any of this yet. I will have to take another good look at everything again to decide the best way to move...

Given that this error message doesn't come from Bleak, this sounds very much like a Windows problem.

Can you share a minimal program to reproduce the problem? Can you share debug logs? (see troubleshooting page in Bleak docs).

What is the output with `BLEAK_LOGGING=1`?

> Such workarounds are outside the scope of Bleak. Based on the number of links to this issue, I might have to eat my words here. It sounds like more...