Enable auto connect while calling bt_gatt_connect 37/197337/1 accepted/tizen/5.0/unified/20190111.055256 submit/tizen_5.0/20190110.230818
authoragrkush <kush.agrawal@samsung.com>
Thu, 10 Jan 2019 11:43:10 +0000 (17:13 +0530)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Thu, 10 Jan 2019 23:05:01 +0000 (08:05 +0900)
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/391

Change-Id: I6b15322e56cc8c901882eec29c19077a9d751c82
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 a79a307..0b79771 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] ",