1 /*
2 * Copyright (c) 2025 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 "distributed_device_profile_proxy.h"
17 #include "distributed_device_profile_errors.h"
18
19 namespace OHOS {
20 namespace DistributedDeviceProfile {
PutCharacteristicProfile(const CharacteristicProfile & characteristicProfile)21 int32_t DistributedDeviceProfileProxy::PutCharacteristicProfile(const CharacteristicProfile &characteristicProfile)
22 {
23 (void)characteristicProfile;
24 return DP_SUCCESS;
25 }
26
GetCharacteristicProfile(const std::string & deviceId,const std::string & serviceName,const std::string & characteristicId,CharacteristicProfile & characteristicProfile)27 int32_t DistributedDeviceProfileProxy::GetCharacteristicProfile(const std::string &deviceId,
28 const std::string &serviceName, const std::string &characteristicId, CharacteristicProfile &characteristicProfile)
29 {
30 (void)deviceId;
31 (void)serviceName;
32 (void)characteristicId;
33 (void)characteristicProfile;
34 return DP_SUCCESS;
35 }
36
SubscribeDeviceProfile(const SubscribeInfo & subscribeInfo)37 int32_t DistributedDeviceProfileProxy::SubscribeDeviceProfile(const SubscribeInfo &subscribeInfo)
38 {
39 (void)subscribeInfo;
40 return DP_SUCCESS;
41 }
42
UnSubscribeDeviceProfile(const SubscribeInfo & subscribeInfo)43 int32_t DistributedDeviceProfileProxy::UnSubscribeDeviceProfile(const SubscribeInfo &subscribeInfo)
44 {
45 (void)subscribeInfo;
46 return DP_SUCCESS;
47 }
48
SendSubscribeInfos(std::map<std::string,SubscribeInfo> listenerMap)49 int32_t DistributedDeviceProfileProxy::SendSubscribeInfos(std::map<std::string, SubscribeInfo> listenerMap)
50 {
51 (void)listenerMap;
52 return DP_SUCCESS;
53 }
54 } // namespace DistributedDeviceProfile
55 } // namespace OHOS
56