Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misterious exception: btlewrap.base.BluetoothBackendException #143

Open
a-x- opened this issue May 2, 2020 · 1 comment
Open

Misterious exception: btlewrap.base.BluetoothBackendException #143

a-x- opened this issue May 2, 2020 · 1 comment

Comments

@a-x-
Copy link

a-x- commented May 2, 2020

raspberry pi zero w (with ble),
uname -a
Linux 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux

cat /etc/*-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"

xiaomi mi flower care firmware: 3.2.2

  File "/usr/local/lib/python3.7/dist-packages/miflora/miflora_poller.py", line 127, in firmware_version
    with self._bt_interface.connect(self._mac) as connection:
  File "/usr/local/lib/python3.7/dist-packages/btlewrap/base.py", line 47, in __enter__
    self._backend.connect(self._mac)
  File "/usr/local/lib/python3.7/dist-packages/btlewrap/bluepy.py", line 33, in _func_wrapper
    raise BluetoothBackendException() from last_error
btlewrap.base.BluetoothBackendException
@a-x-
Copy link
Author

a-x- commented May 2, 2020

when I tried pygatt I got another one:

pygatt.backends.bgapi.exceptions.BGAPIError: Unable to auto-detect BLED112 serial port

seems something weird with raspberry in this case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant