Open danaronson opened 4 years ago
Hi,
BlueZ Object Manager is on the root node only. You need to introspect and get proxy object of "/"
.
Try this:
introspection = await bus.introspect('org.bluez', '/')
db = bus.get_proxy_object('org.bluez', '/', introspection)
object_manager = db.get_interface('org.freedesktop.DBus.ObjectManager')
Does it advertise the interface and method on the path /org/bluez
and say there's no method? That seems like a mistake on the server.
running the following code:
generates a signature error:
dbus_next.errors.DBusError: Method "GetManagedObjects" with signature "" on interface "org.freedesktop.DBus.ObjectManager" doesn't exist
Am I calling this incorrectly?