David Lechner

Results 1494 comments of David Lechner

> May I know what kind of stack trace should I provide? The stack trace from this exception: > raise BleakError(f"{fail_msg}: Unreachable") > bleak.exc.BleakError: Could not get GATT services: Unreachable...

If Wi-Fi is on on the RPi, try turning it off. It is a known issue that it interferes with Bluetooth. The btmon logs should tell you if it is...

The side running Bleak is initiating the disconnect. So I'm guessing either the Python program is throwing an exception or condition of the while loop is no longer true.

I didn't even know that it was possible to do `gatt.register-characteristic` in `bluetoothctl`. I would not expect that to be very flexible. There is a Python library called `bless` that...

Happy to look at a PR. I do have some concern that iOS support will be like Android support in that it is not quick/easy to test so it tends...

If it is API-compatible with PyObjC, then that is probably not so bad as we wouldn't have to write a 2nd backend for CoreBluetoth.

It sounds like Bleak didn't get installed correctly on Windows 11. The required packages for Python 3.12 on Windows can be found in the `pyproject.toml` file. https://github.com/hbldh/bleak/blob/ce48c7fe470d7ead949d5249b74d571411defbb2/pyproject.toml#L32-L39

If you are running Bleak from the source directory, you can install everything using `poetry install` and then run things with `poetry run python ...` or use `poetry shell` so...

It's not really clear what you did or what you are trying to do, so hard to help without more information. Are you using a virtual environment, etc.?

Can you give the exact steps needed to reproduce the error?