projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5b040b
)
handsfree-audio: Add additional debugs
author
Denis Kenzior
<denkenz@gmail.com>
Wed, 22 Apr 2015 22:12:48 +0000
(17:12 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 13 May 2015 14:57:52 +0000
(09:57 -0500)
src/handsfree-audio.c
patch
|
blob
|
history
diff --git
a/src/handsfree-audio.c
b/src/handsfree-audio.c
index 14f65dcb755a5ae6d90b7c1d2ab9ef3be2e7ff42..f1807945a563ef3729fbaec402b13234c1e69cf1 100644
(file)
--- a/
src/handsfree-audio.c
+++ b/
src/handsfree-audio.c
@@
-101,6
+101,8
@@
static void send_new_connection(const char *card, int fd, uint8_t codec)
DBusMessage *msg;
DBusMessageIter iter;
+ DBG("%p, fd: %d, codec: %hu", card, fd, codec);
+
msg = dbus_message_new_method_call(agent->owner, agent->path,
HFP_AUDIO_AGENT_INTERFACE, "NewConnection");
if (msg == NULL)
@@
-183,6
+185,9
@@
static gboolean sco_accept(GIOChannel *io, GIOCondition cond,
return TRUE;
}
+ DBG("SCO connection setup between local: %s and remote: %s",
+ local, remote);
+
send_new_connection(card->path, nsk, card->selected_codec);
close(nsk);