linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "João Paulo Rechi Vita" <jprvita@gmail.com>
To: pulseaudio-discuss@mail.0pointer.de
Cc: "Gustavo Padovan" <padovan@profusion.mobi>,
	"Luiz Augusto von Dentz" <luiz.dentz@gmail.com>,
	"Johan Hedberg" <johan.hedberg@gmail.com>,
	"Zheng Huan" <huan.zheng@intel.com>,
	"Lennart Poettering" <lennart@poettering.net>,
	ofono@ofono.org, linux-bluetooth@vger.kernel.org,
	"João Paulo Rechi Vita" <jprvita@profusion.mobi>
Subject: [PATCH 1/2] bluetooth: improve dbus logging a little bit
Date: Fri, 29 Jan 2010 12:44:25 -0200	[thread overview]
Message-ID: <1264776266-7646-2-git-send-email-jprvita@gmail.com> (raw)
In-Reply-To: <1264776266-7646-1-git-send-email-jprvita@gmail.com>

From: João Paulo Rechi Vita <jprvita@profusion.mobi>

---
 src/modules/bluetooth/bluetooth-util.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
index 47d6200..d3f3bfe 100644
--- a/src/modules/bluetooth/bluetooth-util.c
+++ b/src/modules/bluetooth/bluetooth-util.c
@@ -292,9 +292,10 @@ static int parse_audio_property(pa_bluetooth_discovery *u, int *state, DBusMessa
             const char *value;
             dbus_message_iter_get_basic(&variant_i, &value);
 
-            if (pa_streq(key, "State"))
+            if (pa_streq(key, "State")) {
                 *state = pa_bt_audio_state_from_string(value);
-/*             pa_log_debug("Value %s", value); */
+                pa_log_debug("dbus: property 'State' changed to value '%s'", value);
+            }
 
             break;
         }
-- 
1.6.3.3


  reply	other threads:[~2010-01-29 14:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29 14:44 [RFC] [PATCH 0/2] HFP AG integration with PulseAudio João Paulo Rechi Vita
2010-01-29 14:44 ` João Paulo Rechi Vita [this message]
2010-01-29 14:44   ` [PATCH 2/2] bluetooth: add HFP Gateway support João Paulo Rechi Vita
2010-01-29 14:53 ` [RFC] [PATCH 0/2] HFP AG integration with PulseAudio João Paulo Rechi Vita
     [not found]   ` <20100202111019.GA27346@tango.0pointer.de>
2010-02-03 18:38     ` [pulseaudio-discuss] " João Paulo Rechi Vita
2010-02-01 17:09 ` João Paulo Rechi Vita
2010-02-02  1:38   ` Zhenhua Zhang
2010-02-02  3:50   ` Zhenhua Zhang
2010-02-03 18:30     ` João Paulo Rechi Vita
2010-02-04  3:21       ` Zhenhua Zhang
2010-02-02 17:03 ` Luiz Augusto von Dentz

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=1264776266-7646-2-git-send-email-jprvita@gmail.com \
    --to=jprvita@gmail.com \
    --cc=huan.zheng@intel.com \
    --cc=johan.hedberg@gmail.com \
    --cc=jprvita@profusion.mobi \
    --cc=lennart@poettering.net \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=ofono@ofono.org \
    --cc=padovan@profusion.mobi \
    --cc=pulseaudio-discuss@mail.0pointer.de \
    /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;
as well as URLs for NNTP newsgroup(s).