From 1f56f28dd1c8873a86a5c23243c31db130695994 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Thu, 28 Apr 2016 19:29:46 +0900 Subject: [PATCH] Fix TBT fail issue (TBT-Gatt-client) TBT application set the "auto_connect" flag as TRUE. Because of this, some connection issue is occured in bluez side. We need to check why auto connect option is not working. But to resolve the issue, always set the flag as FALSE. http://suprem.sec.samsung.net/jira/browse/TSAM-2614 Change-Id: I80219d9f30c5ef43c28bed9c7257b7e4825898d3 Signed-off-by: DoHyun Pyun --- bt-service/bt-service-device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bt-service/bt-service-device.c b/bt-service/bt-service-device.c index 0c0ca5e..434b416 100755 --- a/bt-service/bt-service-device.c +++ b/bt-service/bt-service-device.c @@ -1832,6 +1832,8 @@ int _bt_connect_le_device(int request_id, _bt_set_scan_parameters(&scan_params); } + auto_connect = FALSE; + g_dbus_proxy_call(device_proxy, "ConnectLE", g_variant_new("(b)", auto_connect), G_DBUS_CALL_FLAGS_NONE, -- 2.7.4