Enable auto connect while calling bt_gatt_connect 19/198019/1
authoragrkush <kush.agrawal@samsung.com>
Thu, 10 Jan 2019 11:43:10 +0000 (17:13 +0530)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Fri, 18 Jan 2019 01:08:57 +0000 (10:08 +0900)
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/391

Change-Id: Ifbaf12df7e70dd59690713d1d02b337bb8d590fe
Signed-off-by: agrkush <kush.agrawal@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient_vd.c

index c00ae23..c7ca3a5 100644 (file)
@@ -1121,7 +1121,7 @@ CAResult_t CALEGattConnect(const char *remoteAddress)
     oc_mutex_lock(g_LEClientConnectMutex);
     CAResult_t result = CA_STATUS_OK;
 
-    int ret = bt_gatt_connect(remoteAddress, false);
+    int ret = bt_gatt_connect(remoteAddress, true);
     if (BT_ERROR_NONE != ret)
     {
         OIC_LOG_V(ERROR, TAG, "bt_gatt_connect Failed with ret value [%s] ",