From: agrkush Date: Thu, 10 Jan 2019 11:43:10 +0000 (+0530) Subject: Enable auto connect while calling bt_gatt_connect X-Git-Tag: accepted/tizen/5.0/unified/20190111.055256 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftizen%2F5.0%2Funified%2F20190111.055256;p=platform%2Fupstream%2Fiotivity.git Enable auto connect while calling bt_gatt_connect https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/391 Change-Id: I6b15322e56cc8c901882eec29c19077a9d751c82 Signed-off-by: agrkush Signed-off-by: DoHyun Pyun --- diff --git a/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient_vd.c b/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient_vd.c index a79a307..0b79771 100644 --- a/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient_vd.c +++ b/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient_vd.c @@ -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] ",