1 /*
2 * Copyright (c) 2022 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16 #include "lnn_fast_offline.h"
17
18 #include "lnn_log.h"
19 #include "softbus_errcode.h"
20
LnnInitFastOffline(void)21 int32_t LnnInitFastOffline(void)
22 {
23 LNN_LOGI(LNN_INIT, "init virtual lnn fast offline");
24 return SOFTBUS_OK;
25 }
26
LnnDeinitFastOffline(void)27 void LnnDeinitFastOffline(void)
28 {
29 LNN_LOGI(LNN_INIT, "Deinit virtual lnn fast offline");
30 }
31
LnnSendNotTrustedInfo(const NotTrustedDelayInfo * info,uint32_t num,LnnSyncInfoMsgComplete complete)32 int32_t LnnSendNotTrustedInfo(const NotTrustedDelayInfo *info, uint32_t num, LnnSyncInfoMsgComplete complete)
33 {
34 (void)info;
35 (void)num;
36 return SOFTBUS_OK;
37 }
38
LnnBleFastOfflineOnceBegin(void)39 int32_t LnnBleFastOfflineOnceBegin(void)
40 {
41 LNN_LOGI(LNN_BUILDER, "LnnBleFastOfflineOnceBegin virtual ok");
42 return SOFTBUS_OK;
43 }
44
LnnIpAddrChangeEventHandler(void)45 void LnnIpAddrChangeEventHandler(void)
46 {
47 LNN_LOGI(LNN_BUILDER, "LnnIpAddrChangeEventHandler virtual ok");
48 }
49
EhLoginEventHandler(void)50 void EhLoginEventHandler(void)
51 {
52 LNN_LOGI(LNN_BUILDER, "EH handle SOFTBUS_ACCOUNT_LOG_IN");
53 }