[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, master, updated. milestone4-368-g700ab82

Jan Luebbe jluebbe at debian.org
Mon Feb 2 18:52:00 UTC 2009


The following commit has been merged in the master branch:
commit dbe8508e07dc503fd8d3cd6e395c01ef9d87fb11
Author: Jan Luebbe <jluebbe at debian.org>
Date:   Tue Jan 20 20:34:17 2009 +0100

    cli-framework: add support for bluez 4.x

diff --git a/tools/cli-framework b/tools/cli-framework
index c13c8b8..1152304 100755
--- a/tools/cli-framework
+++ b/tools/cli-framework
@@ -251,6 +251,20 @@ pimsources = getInterface( \
     "/org/freesmartphone/PIM/Sources",
     "org.freesmartphone.PIM.Sources" )
 
+# bluez
+try:
+    bluez_manager = getInterface( \
+        "org.bluez",
+        "/",
+        "org.bluez.Manager" )
+
+    bluez = getInterface( \
+        "org.bluez",
+        bluez_manager.DefaultAdapter(),
+        "org.bluez.Adapter" )
+except:
+    print "failed to connect to bluez"
+
 bus.add_signal_receiver( handler, None, None, None, None,
     sender_keyword = "sender",
     destination_keyword = "destination",

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list