!3983 Soft bus process not found

Merge pull request !3983 from liwenqiang/master
This commit is contained in:
openharmony_ci 2023-08-26 03:11:21 +00:00 committed by Gitee
commit 877f6b6563
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 37 additions and 2 deletions

View File

@ -33,6 +33,7 @@ if (defined(ohos_lite)) {
"$dsoftbus_root_path/interfaces/kits/common",
"//base/startup/init/interfaces/innerkits/include/syspara",
"//third_party/bounds_checking_function/include",
"//third_party/json/include",
]
if (ohos_kernel_type == "liteos_m") {
@ -114,6 +115,7 @@ if (defined(ohos_lite)) {
sources = [
"$softbus_adapter_common/dfx/softbus_adapter_hisysevent_mini.c",
"$softbus_adapter_common/dfx/softbus_adapter_hitrace_virtual.c",
"$softbus_adapter_common/json/nlohmann/softbus_adapter_json.cpp",
"$softbus_adapter_common/kernel/posix/lnn_ip_utils_adapter.c",
"$softbus_adapter_common/kernel/posix/softbus_adapter_file.c",
"$softbus_adapter_common/kernel/posix/softbus_adapter_mem.c",
@ -121,6 +123,7 @@ if (defined(ohos_lite)) {
"$softbus_adapter_common/kernel/posix/softbus_adapter_thread.c",
"$softbus_adapter_common/kernel/posix/softbus_adapter_timer.c",
"$softbus_adapter_common/log/softbus_adapter_log.c",
"$softbus_adapter_common/perf/softbus_adapter_perf.c",
"$softbus_adapter_common/range/softbus_adapter_range.c",
"$softbus_adapter_config/spec_config/softbus_config_adapter.c",
]

View File

@ -0,0 +1,29 @@
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "lnn_heartbeat_utils.h"
#include "softbus_log.h"
#include "softbus_errcode.h"
int32_t LnnGenerateBtMacHash(const char *btMac, int32_t brMacLen, char *brMacHash, int32_t hashLen)
{
(void)btMac;
(void)brMacLen;
(void)brMacHash;
(void)hashLen;
SoftBusLog(SOFTBUS_LOG_LNN, SOFTBUS_LOG_INFO, "heartbeat stub GenerateBtMacHash");
return SOFTBUS_NOT_IMPLEMENT;
}

View File

@ -88,8 +88,11 @@ if (dsoftbus_feature_lnn_net) {
]
}
} else {
bus_center_hub_src +=
[ "$core_lane_hub_path/heartbeat/src/lnn_heartbeat_ctrl_virtual.c" ]
bus_center_hub_src += [
"$core_lane_hub_path/heartbeat/src/lnn_heartbeat_ctrl_virtual.c",
"$core_lane_hub_path/heartbeat/src/lnn_ble_lpdevice_virtual.c",
"$core_lane_hub_path/heartbeat/src/lnn_heartbeat_utils_virtual.c",
]
}
bus_center_hub_inc += [
"$dsoftbus_core_path/connection/wifi_direct",