[gnome-bluetooth] lib: Add parsed CoD to test-class



commit 360dde50ca424514464551b961af20bcedb46c67
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Dec 10 11:42:38 2013 +0100

    lib: Add parsed CoD to test-class

 lib/test-class.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/test-class.c b/lib/test-class.c
index bbe44c4..73e405b 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)));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]