diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2021-06-14 16:29:04 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2021-06-28 09:26:25 +0900 |
commit | f55c442dcbbeefed28d5d74bb8e9017f31ece1e6 (patch) | |
tree | c9ed60f64634a52e7234686d8811e46aad4fb437 | |
parent | e399a13447872ade36cda2cdd33c2418e04f0180 (diff) | |
download | iotivity-tizen_7.0.tar.gz iotivity-tizen_7.0.tar.bz2 iotivity-tizen_7.0.zip |
Disable auto connect while calling bt_gatt_connecttizen_7.0_m2_releasetizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163401submit/tizen/20210628.055145accepted/tizen/unified/20210629.130141accepted/tizen/7.0/unified/hotfix/20221116.110905accepted/tizen/7.0/unified/20221110.061438accepted/tizen/6.5/unified/20211029.013650tizen_7.0_hotfixtizen_7.0tizen_6.5accepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unified
https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/812
(cherry-picked from a714931da5f0f4a31e8d993b2c5972681138f953)
Change-Id: Ibe67b77ce8c9477f88a567774dc777eb8761da4c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rwxr-xr-x | resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c b/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c index 7c5f6c872..dac20bea6 100755 --- a/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c +++ b/resource/csdk/connectivity/src/bt_le_adapter/tizen/caleclient.c @@ -1170,11 +1170,8 @@ CAResult_t CALEGattConnect(const char *remoteAddress) oc_mutex_lock(g_LEClientConnectMutex); CAResult_t result = CA_STATUS_OK; -#ifdef TIZEN_VD - int ret = bt_gatt_connect(remoteAddress, true); -#else int ret = bt_gatt_connect(remoteAddress, false); -#endif + if (BT_ERROR_NONE != ret) { OIC_LOG_V(ERROR, TAG, "bt_gatt_connect Failed with ret value [%s] ", |