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:
1939c1f
)
unit: Print UUID list from EIR parsing in verbose mode
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 27 Jan 2013 04:36:49 +0000
(
05:36
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 27 Jan 2013 04:36:49 +0000
(
05:36
+0100)
unit/test-eir.c
patch
|
blob
|
history
diff --git
a/unit/test-eir.c
b/unit/test-eir.c
index
c143ac2
..
6a90eb3
100644
(file)
--- a/
unit/test-eir.c
+++ b/
unit/test-eir.c
@@
-455,9
+455,16
@@
static void test_parsing(gconstpointer data)
g_assert(err == 0);
if (g_test_verbose() == TRUE) {
+ GSList *list;
+
g_print("Flags: %d\n", eir.flags);
g_print("Name: %s\n", eir.name);
g_print("TX power: %d\n", eir.tx_power);
+
+ for (list = eir.services; list; list = list->next) {
+ char *uuid_str = list->data;
+ g_print("UUID: %s\n", uuid_str);
+ }
}
g_assert(eir.flags == test->flags);