mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-19 10:05:09 +08:00
test: Update map-client to use D-Bus properties interface
This commit is contained in:
parent
e4f45a247b
commit
9f4d7d9ac3
@ -136,8 +136,8 @@ class MapClient:
|
||||
self.map.ListMessages("", dict())
|
||||
path = self.path + "/message" + handle
|
||||
obj = bus.get_object("org.bluez.obex.client", path)
|
||||
msg = dbus.Interface(obj, "org.bluez.obex.Message")
|
||||
ret = msg.GetProperties()
|
||||
msg = dbus.Interface(obj, "org.freedesktop.DBus.Properties")
|
||||
ret = msg.GetAll("org.bluez.obex.Message")
|
||||
print pformat(unwrap(ret))
|
||||
|
||||
def set_message_property(self, handle, prop, flag):
|
||||
|
Loading…
Reference in New Issue
Block a user