1 /*
2 * Copyright (c) 2023 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_ble_lpdevice.h"
17 #include "softbus_errcode.h"
18 #include "softbus_adapter_mem.h"
19
LnnRegisterBleLpDeviceMediumMgr(void)20 int32_t LnnRegisterBleLpDeviceMediumMgr(void)
21 {
22 return SOFTBUS_OK;
23 }
24
SendDeviceStateToMlps(void * para)25 void SendDeviceStateToMlps(void *para)
26 {
27 if (para != NULL) {
28 SoftBusFree(para);
29 }
30 }
31
UpdateLocalDeviceInfoToMlps(const NodeInfo * localInfo)32 void UpdateLocalDeviceInfoToMlps(const NodeInfo *localInfo)
33 {
34 (void)localInfo;
35 }
36
UpdateRemoteDeviceInfoToMlps(const NodeInfo * info)37 void UpdateRemoteDeviceInfoToMlps(const NodeInfo *info)
38 {
39 (void)info;
40 }
41
UpdateRemoteDeviceInfoListToMlps(void)42 void UpdateRemoteDeviceInfoListToMlps(void)
43 {
44 }
45
GetBurstAdvId(void)46 int32_t GetBurstAdvId(void)
47 {
48 return SOFTBUS_ERR;
49 }
50
SendDeviceInfoToSHByType(LpFeatureType type)51 int32_t SendDeviceInfoToSHByType(LpFeatureType type)
52 {
53 (void)type;
54 return SOFTBUS_OK;
55 }
56
SendAdvInfoToMlps(LpBroadcastParam * lpAdvParam,LpServerType type)57 int32_t SendAdvInfoToMlps(LpBroadcastParam *lpAdvParam, LpServerType type)
58 {
59 (void)lpAdvParam;
60 (void)type;
61 return SOFTBUS_OK;
62 }
63
SwtichHeartbeatReportChannel(bool isToAP,uint16_t scanInterval,uint16_t scanWindow)64 int32_t SwtichHeartbeatReportChannel(bool isToAP, uint16_t scanInterval, uint16_t scanWindow)
65 {
66 (void)isToAP;
67 (void)scanInterval;
68 (void)scanWindow;
69 return SOFTBUS_OK;
70 }
71
IsSupportLpFeature(void)72 bool IsSupportLpFeature(void)
73 {
74 return false;
75 }
76
SetLpKeepAliveState(void * para)77 void SetLpKeepAliveState(void *para)
78 {
79 (void)para;
80 }
81
AsyncSetBleBroadcastTimeStamp(const char * networkId)82 void AsyncSetBleBroadcastTimeStamp(const char *networkId)
83 {
84 (void)networkId;
85 }