I'm trying to scan the invironment of the Pi for active bluetooth devices. I'd like to have MACs, names and signal strength.

Of course I can run bluetoothctl in the shell and then use scan on command but it is not the thing I'm looking for:

  1. It is not able to see some devices for some reason (my phone for example).
  2. It is not convenient to use within Python code (if even possible)

The documentation on the RPi website has no information upon embedded Bluetooth API (at least I wasn't able to find).

Some of the Python modules (pyblues, native sockets) are not well documented and almost no solution available on the web.

Is there any tutorials or good docs on the subject?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.