diff --git a/core/bus_center/lnn/lane_hub/heartbeat/src/lnn_heartbeat_medium_mgr.c b/core/bus_center/lnn/lane_hub/heartbeat/src/lnn_heartbeat_medium_mgr.c index 29b04473e067963cb894e0756e80f96c602ae00b..c959045b9c8dd21d1698d3586946dc98760daa15 100644 --- a/core/bus_center/lnn/lane_hub/heartbeat/src/lnn_heartbeat_medium_mgr.c +++ b/core/bus_center/lnn/lane_hub/heartbeat/src/lnn_heartbeat_medium_mgr.c @@ -583,7 +583,7 @@ static bool IsAccountChange(DeviceInfo *device, NodeInfo *cacheDeviceInfo) static bool IsNeedConnectOnLine(DeviceInfo *device, HbRespData *hbResp, ConnectOnlineReason *connectReason) { - LNN_CHECK_AND_RETURN_RET_LOGE((hbResp != NULL) && (hbResp->stateVersion != STATE_VERSION_INVALID), + LNN_CHECK_AND_RETURN_RET_LOGW((hbResp != NULL) && (hbResp->stateVersion != STATE_VERSION_INVALID), true, LNN_HEART_BEAT, "ble don't support ble direct online"); int32_t ret, stateVersion; NodeInfo deviceInfo; diff --git a/tests/core/adapter/BUILD.gn b/tests/core/adapter/BUILD.gn index a100c254154841f02afba44b65c848026a8ff7cc..7b5cf0dd9b2604ae7a7b2bb14a7f4daa6d5b616b 100644 --- a/tests/core/adapter/BUILD.gn +++ b/tests/core/adapter/BUILD.gn @@ -96,6 +96,7 @@ ohos_unittest("LnnSettingDataEventMonitorTest") { "googletest:gtest_main", "hilog:libhilog", "init:libbegetutil", + "ipc:ipc_single", "kv_store:distributeddata_inner", "samgr:samgr_proxy", ]