summaryrefslogtreecommitdiff
path: root/plugins/bluemonkey/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/bluemonkey/config.js')
-rw-r--r--plugins/bluemonkey/config.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/bluemonkey/config.js b/plugins/bluemonkey/config.js
index cb7549e2..131247e8 100644
--- a/plugins/bluemonkey/config.js
+++ b/plugins/bluemonkey/config.js
@@ -27,6 +27,17 @@ dbusConnected.changed.connect(function () {
{'AnswerToTheUniverse' : 'AnswerToTheUniverse'}]);
});
+bluemonkey.loadModule("@PLUGIN_INSTALL_PATH@/bluemonkeyDBusModule.so");
+
+if(dbus)
+{
+ var dbusIface = dbus.createInterface("org.freedesktop.DBus", "/", "org.freedesktop.DBus", dbus.Session);
+
+ var reply = dbusIface.GetId();
+
+ bluemonkey.log("org.freedesktop.DBus.GetId() response: " + reply);
+}
+
bluemonkey.createCustomProperty("VehicleSpeed", 10);
bluemonkey.createCustomProperty("EngineSpeed", 5000);
bluemonkey.createCustomProperty("PowertrainTorque", 324);