Linux bluetooth development
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 4/4] test: Update map-client to use D-Bus properties interface
Date: Fri, 14 Dec 2012 23:32:00 +0200	[thread overview]
Message-ID: <1355520720-11731-4-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1355520720-11731-1-git-send-email-luiz.dentz@gmail.com>

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

---
 test/map-client | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/map-client b/test/map-client
index 756ebb8..39dd79f 100755
--- a/test/map-client
+++ b/test/map-client
@@ -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):
-- 
1.7.11.7


  parent reply	other threads:[~2012-12-14 21:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-14 21:31 [PATCH BlueZ 1/4] obex-client: Port MAP module to use D-Bus properties interface Luiz Augusto von Dentz
2012-12-14 21:31 ` [PATCH BlueZ 2/4] obex-client: Port session code " Luiz Augusto von Dentz
2012-12-14 21:31 ` [PATCH BlueZ 3/4] obex-client: Port transfer " Luiz Augusto von Dentz
2012-12-14 21:32 ` Luiz Augusto von Dentz [this message]
2012-12-16 11:28 ` [PATCH BlueZ 1/4] obex-client: Port MAP module " Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1355520720-11731-4-git-send-email-luiz.dentz@gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox