changeset 2842:be718ff506c0

hardcoded address removed
author Paula Stanciu <paula.stanciu@gmail.com>
date Fri, 18 Jul 2008 12:10:11 +0300
parents 9637eab5a3dd
children 29a14d80fcd8
files src/bluetooth/bluetooth.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/bluetooth/bluetooth.c	Fri Jul 18 12:01:38 2008 +0300
+++ b/src/bluetooth/bluetooth.c	Fri Jul 18 12:10:11 2008 +0300
@@ -155,7 +155,7 @@
        dbus_g_proxy_connect_signal(obj, "BondingRemoved", G_CALLBACK(bounding_removed), bus, NULL);
        */ 
     run_agents();
-    dbus_g_proxy_call(obj,"CreateBonding",NULL,G_TYPE_STRING,"00:0D:3C:B1:1C:7A",G_TYPE_INVALID,G_TYPE_INVALID);  
+    dbus_g_proxy_call(obj,"CreateBonding",NULL,G_TYPE_STRING,((DeviceData*)(selected_dev->data))->address,G_TYPE_INVALID,G_TYPE_INVALID);  
 
 
 }