I have the following Python code:
import bluetooth
print(bluetooth.discover_devices())
This always waits a few seconds and prints out an empty list.
My bluetooth adapter appears to be working, as I can discover devices with bluetoothctl
easily by typing scan on
.
How can I fix/troubleshoot this?