summaryrefslogtreecommitdiff
path: root/lib/test-class.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2013-12-10 11:42:38 +0100
committerBastien Nocera <hadess@hadess.net>2013-12-11 14:20:35 +0100
commit360dde50ca424514464551b961af20bcedb46c67 (patch)
tree3660dfcf144d4c777c3428793595eb5797b36608 /lib/test-class.c
parenta8e2be9cb386f186894d8f1044f903c83f81aa80 (diff)
downloadgnome-bluetooth-360dde50ca424514464551b961af20bcedb46c67.tar.gz
lib: Add parsed CoD to test-class
Diffstat (limited to 'lib/test-class.c')
-rw-r--r--lib/test-class.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/test-class.c b/lib/test-class.c
index bbe44c42..73e405b1 100644
--- a/lib/test-class.c
+++ b/lib/test-class.c
@@ -58,6 +58,7 @@ int main(int argc, char *argv[])
class = g_ascii_strtoull (argv[1], NULL, 0);
+ g_message ("device class: 0x%X", class);
g_message ("major class: 0x%X %s", (class & 0x1f00) >> 8, byte_to_binary ((class & 0x1f00) >> 8));
g_message ("%d %s", bluetooth_class_to_type (class), bluetooth_type_to_string (bluetooth_class_to_type (class)));