David Lechner

Results 1536 comments of David Lechner

It would be great if this was enabled by default. Or if that is not acceptable, add a setting to `poetry.toml` so that it can be enforced on a per-project...

The program is doing a bunch of things it shouldn't. Bleak expects the use of one and only one `asyncio.run()` instead of the deprecated `asyncio.get_event_loop()` and multiple `run_until_complete()`s. Also connect...

macOS support is blocked by https://github.com/ronaldoussoren/pyobjc/issues/489

Can you give the full stack trace of the error? When creating a BleakClient object using a Bluetooth address instead of a `BLEDevice` it will implicitly scan when connecting, so...

If that is the case, then I would suggest using `BleakScanner.find_device_by_address()` to get a `BLEDevice` and then pass that object to the `BleakClient` constructor.

> bleak.exc.BleakDBusError: [org.freedesktop.DBus.Error.UnknownObject] Method "Connect" with signature "" on interface "org.bluez.Device1" doesn't exist This probably means that BlueZ removes the device object from d-bus before we attempt to connect. You...

Also, can you include the BlueZ version you are using with each log since you mentioned two different versions originally? BlueZ 5.55 has some other known issues, so I would...

> For Android the documentation is ambiguous. It sounds like we shouldn't worry about it on android then.

> In the `connect` methods, in addition to the optional scanner not finding the device, ... > I'm not sure what it would be in the other backends, so I...