bluetool
bluetool copied to clipboard
DBus issues when trying to scan
When trying to run the sample code given, it is printing an empty array and an error: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1 org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1 []
from bluetool import Bluetooth
bluetooth = Bluetooth() bluetooth.scan() devices = bluetooth.get_paired_devices() print(devices)`
There are two of the dbus errors for some reason, and I assumed that they are the reason that the array ends up empty instead of having the devices. Other Bluetooth class methods also return empty lists, although I haven't tried all of them.