From d5ece86089695d95ecc4255f86b8da684fefa167 Mon Sep 17 00:00:00 2001 From: "jihwan.seo" Date: Fri, 16 Dec 2016 16:08:47 +0900 Subject: [PATCH] replace some error log with debug log. some log can create some confusion. because these log are not error cases generally. Change-Id: I8fd932ee5df707d00db4c7f9662f323697476f78 Signed-off-by: jihwan.seo Reviewed-on: https://gerrit.iotivity.org/gerrit/15749 Reviewed-by: Phil Coval Tested-by: jenkins-iotivity Reviewed-by: Ashok Babu Channa --- resource/csdk/connectivity/src/bt_le_adapter/android/caleclient.c | 2 +- .../util/src/camanager/bt_le_manager/android/caleconnectionmanager.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resource/csdk/connectivity/src/bt_le_adapter/android/caleclient.c b/resource/csdk/connectivity/src/bt_le_adapter/android/caleclient.c index daf5909..14c7d3d 100644 --- a/resource/csdk/connectivity/src/bt_le_adapter/android/caleclient.c +++ b/resource/csdk/connectivity/src/bt_le_adapter/android/caleclient.c @@ -3872,7 +3872,7 @@ bool CALEClientIsValidState(const char* remoteAddress, uint16_t state_type, CALEState_t* state = CALEClientGetStateInfo(remoteAddress); if (NULL == state) { - OIC_LOG(ERROR, TAG, "state is null"); + OIC_LOG(DEBUG, TAG, "state is not updated yet"); oc_mutex_unlock(g_deviceStateListMutex); return false; } diff --git a/resource/csdk/connectivity/util/src/camanager/bt_le_manager/android/caleconnectionmanager.c b/resource/csdk/connectivity/util/src/camanager/bt_le_manager/android/caleconnectionmanager.c index 70cdb80..f57aa45 100644 --- a/resource/csdk/connectivity/util/src/camanager/bt_le_manager/android/caleconnectionmanager.c +++ b/resource/csdk/connectivity/util/src/camanager/bt_le_manager/android/caleconnectionmanager.c @@ -500,7 +500,8 @@ Java_org_iotivity_ca_CaLeClientInterface_caManagerLeServicesDiscoveredCallback(J { if (!g_connectedDeviceSet) { - OIC_LOG(ERROR, TAG, "g_connectedDeviceSet is null"); + OIC_LOG(INFO, TAG, "g_connectedDeviceSet is needed for CM. " + "please call CAManagerLEClientInitialize"); return; } -- 2.7.4