diff src/bluetooth/bluetooth.c @ 2840:50507763fd31

working basic pairing / bounding
author Paula Stanciu <paula.stanciu@gmail.com>
date Fri, 18 Jul 2008 11:46:56 +0300
parents 22a5075fc7f7
children 9637eab5a3dd
line wrap: on
line diff
--- a/src/bluetooth/bluetooth.c	Wed Jul 16 20:57:17 2008 +0300
+++ b/src/bluetooth/bluetooth.c	Fri Jul 18 11:46:56 2008 +0300
@@ -78,7 +78,6 @@
 void bt_about( void )
 {
     printf("about call\n");
-    run_agent();
 }
 
 void bt_cfg(void)
@@ -155,9 +154,9 @@
     dbus_g_proxy_add_signal(obj, "BondingRemoved", G_TYPE_STRING, G_TYPE_UINT, G_TYPE_INT, G_TYPE_INVALID);
     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);  
-
-
+   
 
 }