OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b96445b
)
adapter: Print debug message with IPC message header parameters
author
Szymon Janc
<szymon.janc@tieto.com>
Tue, 22 Oct 2013 16:47:53 +0000
(18:47 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 22 Oct 2013 20:17:46 +0000
(23:17 +0300)
This is usefull while debugging HAL IPC.
android/main.c
patch
|
blob
|
history
diff --git
a/android/main.c
b/android/main.c
index
f3e2baa
..
988d08b
100644
(file)
--- a/
android/main.c
+++ b/
android/main.c
@@
-151,6
+151,9
@@
static gboolean cmd_watch_cb(GIOChannel *io, GIOCondition cond,
goto fail;
}
+ DBG("service_id %u opcode %u len %u", msg->service_id, msg->opcode,
+ msg->len);
+
switch (msg->service_id) {
case HAL_SERVICE_ID_CORE:
handle_service_core(msg->opcode, buf + sizeof(*msg), msg->len);