David Lechner

Results 1570 comments of David Lechner

> Is is theoretically possible to pair with an device without being connected? Pairing requires communication so I had expected calling `connect` is required before calling `pair`. Or do the...

Does it make a difference if you remove the `use_cached` argument?

I think `use_cached` is a Windows-only option. And if it doesn't work without that option, then there is something wrong with the device. Logging Bluetooth packets will let you see...

> The advantage, especially from a documentation/usability point of view, would be that all objects needed for normal use would be exported from the top level, and the whole `backends`...

You mentioned before that some of the stuff you wrote were things you would have like to have known when you first started using Bleak. So if you could copy...

Closing since this has been broken down into smaller pull requests and issues.

Interesting. It would be nice if you could do a [Bluetooth packet capture](https://bleak.readthedocs.io/en/latest/troubleshooting.html#windows-10) for both the working (sleep workaround) and non-working case so we can see what the difference is....

Bleak doesn't control the power on the Bluetooth adapter, so something else must be doing this. You could try monitoring d-bus to see if another app might be doing this...

> I think that bleak should react (and probably inform by some callback) when used interface is powered down and/or up. This sounds like a good suggestion to add to...

From the logs, we can see that writing and reading in Bleak are working. I'm not familiar with this device, so I'm not sure if the value read from this...