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:
- It is not able to see some devices for some reason (my phone for example).
- 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?